Class MsgPackReader

java.lang.Object
io.camunda.zeebe.msgpack.spec.MsgPackReader

public final class MsgPackReader extends Object
  • Constructor Details

    • MsgPackReader

      public MsgPackReader()
  • Method Details

    • wrap

      public MsgPackReader wrap(org.agrona.DirectBuffer buffer, int offset, int length)
    • 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

      public MsgPackToken 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()