Package org.apache.qpid.proton.codec
Class ByteType.ByteEncoding
java.lang.Object
org.apache.qpid.proton.codec.ByteType.ByteEncoding
- All Implemented Interfaces:
PrimitiveTypeEncoding<Byte>
,TypeConstructor<Byte>
,TypeEncoding<Byte>
- Enclosing class:
- ByteType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
encodesSuperset
(TypeEncoding<Byte> encoding) int
protected DecoderImpl
protected EncoderImpl
byte
protected int
getType()
final int
getValueSize
(Byte val) final boolean
byte
final void
void
write
(byte val) final void
void
writeValue
(byte val) void
writeValue
(Byte val)
-
Constructor Details
-
ByteEncoding
-
-
Method Details
-
getFixedSize
protected int getFixedSize() -
getEncodingCode
public byte getEncodingCode()- Specified by:
getEncodingCode
in interfacePrimitiveTypeEncoding<Byte>
-
getType
-
writeValue
-
write
public void write(byte val) -
writeValue
public void writeValue(byte val) -
encodesSuperset
-
readValue
-
readPrimitiveValue
public byte readPrimitiveValue() -
encodesJavaPrimitive
public boolean encodesJavaPrimitive()- Specified by:
encodesJavaPrimitive
in interfaceTypeConstructor<Byte>
- Specified by:
encodesJavaPrimitive
in interfaceTypeEncoding<Byte>
-
isFixedSizeVal
public final boolean isFixedSizeVal() -
getValueSize
-
skipValue
public final void skipValue() -
writeConstructor
public final void writeConstructor()- Specified by:
writeConstructor
in interfacePrimitiveTypeEncoding<T>
- Specified by:
writeConstructor
in interfaceTypeEncoding<T>
-
getConstructorSize
public int getConstructorSize()- Specified by:
getConstructorSize
in interfacePrimitiveTypeEncoding<T>
- Specified by:
getConstructorSize
in interfaceTypeEncoding<T>
-
getEncoder
-
getTypeClass
- Specified by:
getTypeClass
in interfaceTypeConstructor<T>
-
getDecoder
-