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;
138 BTLinearMatchNode(
const char *units, int32_t len,
Node *nextNode);
146 Node *nextNode)
const;
148 UBool ensureCapacity(int32_t length);
149 virtual int32_t
write(int32_t byte);
150 int32_t
write(
const char *b, int32_t length);
157 BytesTrieElement *elements;
158 int32_t elementsCapacity;
159 int32_t elementsLength;
164 int32_t bytesCapacity;
170 #endif // __BYTESTRIEBUILDER_H__