jd.io
Class CharToByteConverter
java.lang.Object
jd.io.CharToByteConverter
- Direct Known Subclasses:
- CharToByteUtf8
- public abstract class CharToByteConverter
- extends Object
charOff_
protected int charOff_
byteOff_
protected int byteOff_
badInputLength_
protected int badInputLength_
CharToByteConverter
public CharToByteConverter()
getCharacterEncoding
public abstract String getCharacterEncoding()
convert
public abstract int convert(char[] input,
int inStart,
int inEnd,
byte[] output,
int outStart,
int outEnd)
throws CharConversionException
- Throws:
CharConversionException
flush
public abstract int flush(byte[] output,
int outStart,
int outEnd)
throws CharConversionException
- Throws:
CharConversionException
reset
public abstract void reset()
getMaxBytesPerChar
public abstract int getMaxBytesPerChar()
nextCharIndex
public int nextCharIndex()
nextByteIndex
public int nextByteIndex()
toString
public String toString()