Class MsgPackToken

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

public final class MsgPackToken extends Object
  • Field Details

  • Constructor Details

    • MsgPackToken

      public MsgPackToken()
  • Method Details

    • getTotalLength

      public int getTotalLength()
    • setTotalLength

      public void setTotalLength(int totalLength)
    • getSize

      public int getSize()
    • getType

      public MsgPackType getType()
    • setType

      public void setType(MsgPackType type)
    • getValueBuffer

      public org.agrona.DirectBuffer getValueBuffer()
    • setValue

      public void setValue(org.agrona.DirectBuffer buffer, int offset, int length)
    • setValue

      public void setValue(double value)
    • setValue

      public void setValue(long value)
    • setValue

      public void setValue(boolean value)
    • setMapHeader

      public void setMapHeader(int size)
    • setArrayHeader

      public void setArrayHeader(int size)
    • getBooleanValue

      public boolean getBooleanValue()
    • getIntegerValue

      public long getIntegerValue()
      when using this method, keep the value's format in mind; values of negative fixnum (signed) and unsigned integer can return the same long value while representing different numbers
    • getFloatValue

      public double getFloatValue()