public interface TwineConsumer
Modifier and Type | Method and Description |
---|---|
void |
append(IntIterator codePoints)
Append a sequence of codepoints supplied as an iterator
|
void |
append16(char[] chars,
int start,
int len)
Append an array (or part of an array) of 16-bit characters to the content
of the LargeTextBuffer
|
void |
append24(byte[] bytes,
int start,
int len)
Append an array (or part of an array) of 24-bit characters to the content
of the LargeTextBuffer
|
void |
append8(byte[] bytes,
int start,
int len)
Append an array (or part of an array) of 8-bit characters to the content
of the LargeTextBuffer
|
void append8(byte[] bytes, int start, int len)
bytes
- the array of characters to be addedstart
- the start offset of the first character to be copiedlen
- the number of characters (codepoints, one byte per character) to be copiedvoid append16(char[] chars, int start, int len)
chars
- the array of characters to be added. This must not contain any surrogatesstart
- the start offset of the first character to be copiedlen
- the number of characters (codepoints, two bytes per character) to be copiedvoid append24(byte[] bytes, int start, int len)
bytes
- the array holding the characters to be added, three bytes per characterstart
- the start offset of the first character to be copied (codepoint offset, not byte offset)len
- the number of characters (codepoints, three bytes per character) to be copiedvoid append(IntIterator codePoints)
codePoints
- iterator over the codepoints to be deliveredCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.