public static class CharactersetEncoder.EncodedChars
extends java.lang.Object
Modifier and Type | Method | 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(java.io.OutputStream out,
int offset,
int length) |
write
length bytes from offset to the output stream |
public void writeTo(java.io.OutputStream out, int offset, int length) throws java.io.IOException
length
bytes from offset
to the output streamout
- output to write the bytes tooffset
- the offset where to writelength
- the length to writejava.io.IOException
- if an I/O error occurspublic int getLength()
public boolean isDBCS()
public byte[] getBytes()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.