public static class CharactersetEncoder.EncodedChars extends Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
The bytes
|
int |
getLength()
The number of containing bytes.
|
boolean |
isDBCS()
Indicates whether or not the EncodedChars object wraps double byte characters.
|
void |
writeTo(OutputStream out,
int offset,
int length)
write
length bytes from offset to the output stream |
public void writeTo(OutputStream out, int offset, int length) throws IOException
length
bytes from offset
to the output streamout
- output to write the bytes tooffset
- the offset where to writelength
- the length to writeIOException
- if an I/O error occurspublic int getLength()
public boolean isDBCS()
public byte[] getBytes()
Copyright © 2025 Apache Software Foundation. All rights reserved.