Class Array8TypeDecoder
java.lang.Object
org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<Object>
org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
org.apache.qpid.protonj2.codec.decoders.primitives.Array8TypeDecoder
- All Implemented Interfaces:
PrimitiveArrayTypeDecoder
,PrimitiveTypeDecoder<Object>
,StreamTypeDecoder<Object>
,TypeDecoder<Object>
Decoder of AMQP Arrays from a byte stream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected int
readCount
(InputStream stream) protected int
readCount
(ProtonBuffer buffer) protected int
readSize
(InputStream stream) protected int
readSize
(ProtonBuffer buffer) Methods inherited from class org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
getTypeClass, isArrayType, readValue, readValue, skipValue, skipValue
Methods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder
isJavaPrimitive, readArrayElements, readArrayElements
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.qpid.protonj2.codec.decoders.PrimitiveTypeDecoder
isJavaPrimitive
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
readArrayElements
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
readArrayElements
-
Constructor Details
-
Array8TypeDecoder
public Array8TypeDecoder()
-
-
Method Details
-
getTypeCode
public int getTypeCode()- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
- Specified by:
readSize
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readCount
- Specified by:
readCount
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readSize
- Specified by:
readSize
in classAbstractArrayTypeDecoder
-
readCount
- Specified by:
readCount
in classAbstractArrayTypeDecoder
-