Class TrdpDecoder

java.lang.Object
com.trdp.util.TrdpDecoder

public class TrdpDecoder extends Object
  • Constructor Details

    • TrdpDecoder

      public TrdpDecoder(byte[] data)
  • Method Details

    • getBool8

      public boolean getBool8()
    • getChar8

      public char getChar8()
    • getUtf16

      public char getUtf16()
    • getInt8

      public byte getInt8()
    • getInt16

      public short getInt16()
    • getInt32

      public int getInt32()
    • getInt64

      public long getInt64()
    • getUInt8

      public int getUInt8()
    • getUInt16

      public int getUInt16()
    • getUInt32

      public long getUInt32()
    • getUInt64

      public long getUInt64()
      Decodes an unsigned 64-bit integer. For values larger than Long.MAX_VALUE, the returned long will appear negative. Use Long.toUnsignedString() to obtain the decimal representation and Long.compareUnsigned() for comparisons.
    • getReal32

      public float getReal32()
    • getReal64

      public double getReal64()
    • getTimeDate32

      public Instant getTimeDate32()
    • getTimeDate48

      public Instant getTimeDate48()
    • getTimeDate64

      public Instant getTimeDate64()
    • getString

      public String getString(int length)
    • getBytes

      public byte[] getBytes(int length)
    • skip

      public void skip(int bytes)
    • align

      public void align(int alignment)
    • position

      public int position()
    • remaining

      public int remaining()
    • rewind

      public void rewind()