]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/toolutil/pkg_imp.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 2005-2016, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: pkg_imp.h
12 * tab size: 8 (not used)
15 * created on: 2005sep18
16 * created by: Markus W. Scherer
18 * Implementation definitions for data package functions in toolutil.
24 #include "unicode/utypes.h"
25 #include "unicode/udata.h"
28 * Read an ICU data item with any platform type,
29 * return the pointer to the UDataInfo in its header,
30 * and set the lengths of the UDataInfo and of the whole header.
31 * All data remains in its platform type.
33 U_CFUNC
const UDataInfo
*
34 getDataInfo(const uint8_t *data
, int32_t length
,
35 int32_t &infoLength
, int32_t &headerLength
,
36 UErrorCode
*pErrorCode
);