Package org.apache.qpid.proton.codec
Interface TypeEncoding<V>
- All Known Subinterfaces:
ArrayType.ArrayEncoding
,BigIntegerType.BigIntegerEncoding
,BooleanType.BooleanEncoding
,IntegerType.IntegerEncoding
,LongType.LongEncoding
,PrimitiveTypeEncoding<T>
,StringType.StringEncoding
,SymbolType.SymbolEncoding
,UnsignedIntegerType.UnsignedIntegerEncoding
,UnsignedLongType.UnsignedLongEncoding
- All Known Implementing Classes:
ByteType.ByteEncoding
,CharacterType.CharacterEncoding
,DoubleType.DoubleEncoding
,FloatType.FloatEncoding
,ShortType.ShortEncoding
,UnsignedByteType.UnsignedByteEncoding
public interface TypeEncoding<V>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
encodesSuperset
(TypeEncoding<V> encoder) int
getType()
int
getValueSize
(V val) boolean
void
void
writeValue
(V val)
-
Method Details
-
getType
-
writeConstructor
void writeConstructor() -
getConstructorSize
int getConstructorSize() -
writeValue
-
getValueSize
-
isFixedSizeVal
boolean isFixedSizeVal() -
encodesSuperset
-
encodesJavaPrimitive
boolean encodesJavaPrimitive()
-