15 #ifndef __BYTESTRIEBUILDER_H__
16 #define __BYTESTRIEBUILDER_H__
21 #include "unicode/stringtriebuilder.h"
25 class BytesTrieElement;
115 void buildBytes(UStringTrieBuildOption buildOption,
UErrorCode &errorCode);
123 virtual int32_t
countElementUnits(int32_t start, int32_t limit, int32_t byteIndex)
const;
133 #ifndef U_HIDE_INTERNAL_API
139 BTLinearMatchNode(
const char *units, int32_t len,
Node *nextNode);
148 Node *nextNode)
const;
150 UBool ensureCapacity(int32_t length);
151 virtual int32_t
write(int32_t byte);
152 int32_t
write(
const char *b, int32_t length);
159 BytesTrieElement *elements;
160 int32_t elementsCapacity;
161 int32_t elementsLength;
166 int32_t bytesCapacity;
172 #endif // __BYTESTRIEBUILDER_H__