Class Array8TypeDecoder
- java.lang.Object
-
- org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<java.lang.Object>
-
- org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
-
- org.apache.qpid.protonj2.codec.decoders.primitives.Array8TypeDecoder
-
- All Implemented Interfaces:
PrimitiveArrayTypeDecoder,PrimitiveTypeDecoder<java.lang.Object>,StreamTypeDecoder<java.lang.Object>,TypeDecoder<java.lang.Object>
public final class Array8TypeDecoder extends AbstractArrayTypeDecoder
Decoder of AMQP Arrays from a byte stream.
-
-
Constructor Summary
Constructors Constructor Description Array8TypeDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTypeCode()protected intreadCount(java.io.InputStream stream)protected intreadCount(ProtonBuffer buffer)protected intreadSize(java.io.InputStream stream)protected intreadSize(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
-
-
-
-
Method Detail
-
getTypeCode
public int getTypeCode()
- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
protected int readSize(ProtonBuffer buffer) throws DecodeException
- Specified by:
readSizein classAbstractArrayTypeDecoder- Throws:
DecodeException
-
readCount
protected int readCount(ProtonBuffer buffer) throws DecodeException
- Specified by:
readCountin classAbstractArrayTypeDecoder- Throws:
DecodeException
-
readSize
protected int readSize(java.io.InputStream stream)
- Specified by:
readSizein classAbstractArrayTypeDecoder
-
readCount
protected int readCount(java.io.InputStream stream)
- Specified by:
readCountin classAbstractArrayTypeDecoder
-
-