public class CharacterType.CharacterEncoding
extends java.lang.Object
| Constructor and Description |
|---|
CharacterEncoding(EncoderImpl encoder,
DecoderImpl decoder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encodesJavaPrimitive() |
boolean |
encodesSuperset(TypeEncoding<java.lang.Character> encoding) |
int |
getConstructorSize() |
protected DecoderImpl |
getDecoder() |
protected EncoderImpl |
getEncoder() |
byte |
getEncodingCode() |
protected int |
getFixedSize() |
CharacterType |
getType() |
java.lang.Class<T> |
getTypeClass() |
int |
getValueSize(T val) |
boolean |
isFixedSizeVal() |
char |
readPrimitiveValue() |
java.lang.Character |
readValue() |
void |
skipValue() |
void |
write(char c) |
void |
writeConstructor() |
void |
writeValue(char val) |
void |
writeValue(java.lang.Character val) |
public CharacterEncoding(EncoderImpl encoder, DecoderImpl decoder)
protected int getFixedSize()
public byte getEncodingCode()
getEncodingCode in interface PrimitiveTypeEncoding<java.lang.Character>public CharacterType getType()
public void writeValue(java.lang.Character val)
public void writeValue(char val)
public void write(char c)
public boolean encodesSuperset(TypeEncoding<java.lang.Character> encoding)
public java.lang.Character readValue()
public char readPrimitiveValue()
public boolean encodesJavaPrimitive()
encodesJavaPrimitive in interface TypeConstructor<java.lang.Character>encodesJavaPrimitive in interface TypeEncoding<java.lang.Character>public final boolean isFixedSizeVal()
public final int getValueSize(T val)
public final void skipValue()
public final void writeConstructor()
writeConstructor in interface PrimitiveTypeEncoding<T>writeConstructor in interface TypeEncoding<T>public int getConstructorSize()
getConstructorSize in interface PrimitiveTypeEncoding<T>getConstructorSize in interface TypeEncoding<T>protected EncoderImpl getEncoder()
public java.lang.Class<T> getTypeClass()
getTypeClass in interface TypeConstructor<T>protected DecoderImpl getDecoder()