Class PacDataBuffer


  • public class PacDataBuffer
    extends Object
    A thin wrapper around ByteBuffer to comply with the encoding rules defined by the PACTYPE structure from MS-PAC.
    • Constructor Detail

      • PacDataBuffer

        public PacDataBuffer​(byte[] pacDataBytes)
        Constructs a PAC data buffer from a byte array.
        Parameters:
        pacDataBytes - PAC data encoded as bytes
    • Method Detail

      • position

        public int position()
      • getInt

        public int getInt()
      • getUnsignedShort

        public int getUnsignedShort()
      • getUnsignedInt

        public long getUnsignedInt()
      • getUnsignedLong

        public BigInteger getUnsignedLong()