Package io.camunda.zeebe.msgpack.spec
Class MsgPackReader
java.lang.Object
io.camunda.zeebe.msgpack.spec.MsgPackReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.agrona.DirectBufferintbooleanhasNext()intintbooleandoubleFloat is the term in the msgpack spec for all values represented by Java types float and doublelongInteger is the term of the msgpack spec for all natural numbersintintvoidreset()voidskipBytes(int stringLength) voidvoidskipValues(long count) wrap(org.agrona.DirectBuffer buffer, int offset, int length)
-
Constructor Details
-
MsgPackReader
public MsgPackReader()
-
-
Method Details
-
wrap
-
reset
public void reset() -
readMapHeader
public int readMapHeader() -
readArrayHeader
public int readArrayHeader() -
readStringLength
public int readStringLength() -
readBinaryLength
public int readBinaryLength() -
readInteger
public long readInteger()Integer is the term of the msgpack spec for all natural numbers- Returns:
- the value
-
readFloat
public double readFloat()Float is the term in the msgpack spec for all values represented by Java types float and double- Returns:
- the value
-
readBoolean
public boolean readBoolean() -
readToken
-
getBuffer
public org.agrona.DirectBuffer getBuffer() -
getOffset
public int getOffset() -
skipValue
public void skipValue() -
skipValues
public void skipValues(long count) -
skipBytes
public void skipBytes(int stringLength) -
hasNext
public boolean hasNext()
-