michael@0: /* michael@0: ******************************************************************************* michael@0: * michael@0: * Copyright (C) 2005, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: * michael@0: ******************************************************************************* michael@0: * file name: pkg_imp.h michael@0: * encoding: US-ASCII michael@0: * tab size: 8 (not used) michael@0: * indentation:4 michael@0: * michael@0: * created on: 2005sep18 michael@0: * created by: Markus W. Scherer michael@0: * michael@0: * Implementation definitions for data package functions in toolutil. michael@0: */ michael@0: michael@0: #ifndef __PKG_IMP_H__ michael@0: #define __PKG_IMP_H__ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: /* michael@0: * Read an ICU data item with any platform type, michael@0: * return the pointer to the UDataInfo in its header, michael@0: * and set the lengths of the UDataInfo and of the whole header. michael@0: * All data remains in its platform type. michael@0: */ michael@0: U_CFUNC const UDataInfo * michael@0: getDataInfo(const uint8_t *data, int32_t length, michael@0: int32_t &infoLength, int32_t &headerLength, michael@0: UErrorCode *pErrorCode); michael@0: michael@0: #endif