public class UnsignedByteType.UnsignedByteEncoding
extends java.lang.Object
Constructor and Description |
---|
UnsignedByteEncoding(EncoderImpl encoder,
DecoderImpl decoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
encodesJavaPrimitive() |
boolean |
encodesSuperset(TypeEncoding<UnsignedByte> encoding) |
int |
getConstructorSize() |
protected DecoderImpl |
getDecoder() |
protected EncoderImpl |
getEncoder() |
byte |
getEncodingCode() |
protected int |
getFixedSize() |
UnsignedByteType |
getType() |
java.lang.Class<T> |
getTypeClass() |
int |
getValueSize(T val) |
boolean |
isFixedSizeVal() |
UnsignedByte |
readValue() |
void |
skipValue() |
void |
writeConstructor() |
void |
writeValue(UnsignedByte val) |
public UnsignedByteEncoding(EncoderImpl encoder, DecoderImpl decoder)
protected int getFixedSize()
public byte getEncodingCode()
getEncodingCode
in interface PrimitiveTypeEncoding<UnsignedByte>
public UnsignedByteType getType()
public void writeValue(UnsignedByte val)
public boolean encodesSuperset(TypeEncoding<UnsignedByte> encoding)
public UnsignedByte readValue()
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()
public boolean encodesJavaPrimitive()
encodesJavaPrimitive
in interface TypeConstructor<T>
encodesJavaPrimitive
in interface TypeEncoding<T>