Constants§
- BMP_
INDEX_ LENGTH - The length of the BMP index table. 1024=0x400
- CODE_
POINT_ MAX - CP_
PER_ INDEX_ 2_ ENTRY - Number of code points per index-2 table entry. 512=0x200
- ERROR_
VALUE_ NEG_ DATA_ OFFSET - Offset from dataLength (to be subtracted) for fetching the value returned for out-of-range code points and ill-formed UTF-8/16.
- FAST_
TYPE_ DATA_ BLOCK_ LENGTH - Number of entries in a data block for code points below the fast limit. 64=0x40
- FAST_
TYPE_ DATA_ MASK - Mask for getting the lower bits for the in-fast-data-block offset.
- FAST_
TYPE_ FAST_ INDEXING_ MAX - Fast indexing limit for “fast”-type trie
- FAST_
TYPE_ SHIFT - HIGH_
VALUE_ NEG_ DATA_ OFFSET - Offset from dataLength (to be subtracted) for fetching the value returned for code points highStart..U+10FFFF.
- INDEX_
2_ BLOCK_ LENGTH - Number of entries in an index-2 block. 32=0x20
- INDEX_
2_ MASK - Mask for getting the lower bits for the in-index-2-block offset.
- INDEX_
3_ BLOCK_ LENGTH - Number of entries in an index-3 block. 32=0x20
- INDEX_
3_ MASK - Mask for getting the lower bits for the in-index-3-block offset.
- OMITTED_
BMP_ INDEX_ 1_ LENGTH - Number of index-1 entries for the BMP. (4) This part of the index-1 table is omitted from the serialized form.
- SHIFT_1
- Shift size for getting the index-1 table offset.
- SHIFT_2
- Shift size for getting the index-2 table offset.
- SHIFT_3
- Shift size for getting the index-3 table offset.
- SHIFT_
1_ 2 - Difference between two shift sizes, for getting an index-1 offset from an index-2 offset. 5=14-9
- SHIFT_
2_ 3 - Difference between two shift sizes, for getting an index-2 offset from an index-3 offset. 5=9-4
- SMALL_
DATA_ BLOCK_ LENGTH - Number of entries in a small data block. 16=0x10
- SMALL_
DATA_ MASK - Mask for getting the lower bits for the in-small-data-block offset.
- SMALL_
INDEX_ LENGTH - SMALL_
LIMIT - SMALL_
TYPE_ FAST_ INDEXING_ MAX - Fast indexing limit for “small”-type trie