Class EndianByteBuffer


  • public class EndianByteBuffer
    extends Object
    • Field Detail

      • LITTLE_ENDIAN

        public static short LITTLE_ENDIAN
      • BIG_ENDIAN

        public static short BIG_ENDIAN
    • Constructor Detail

      • EndianByteBuffer

        public EndianByteBuffer​(byte[] byteArray,
                                short endian)
      • EndianByteBuffer

        public EndianByteBuffer​(byte[] byteArray)
    • Method Detail

      • setEndian

        public void setEndian​(short endian)
      • getInt

        public int getInt()
      • getShort

        public short getShort()
      • getLong

        public long getLong()
      • getFloat

        public float getFloat()
      • getDouble

        public double getDouble()
      • getString

        public String getString​(int byteCount)
      • getShortArray

        public short[] getShortArray()
      • getLongArray

        public long[] getLongArray()
      • getIntArray

        public int[] getIntArray()
      • position

        public final void position​(int newPosition)