Class LittleEndianByteArrayInputStream

    • Constructor Detail

      • LittleEndianByteArrayInputStream

        public LittleEndianByteArrayInputStream​(byte[] buf,
                                                int offset,
                                                int length)
        Creates LittleEndianByteArrayInputStream that uses buf as its buffer array. The initial value of pos is offset and the initial value of count is the minimum of offset+length and buf.length. The buffer array is not copied. The buffer's mark is set to the specified offset.
        Parameters:
        buf - the input buffer.
        offset - the offset in the buffer of the first byte to read.
        length - the maximum number of bytes to read from the buffer.
      • LittleEndianByteArrayInputStream

        public LittleEndianByteArrayInputStream​(byte[] buf,
                                                int offset)
        Creates LittleEndianByteArrayInputStream that uses buf as its buffer array. The initial value of pos is offset and the initial value of count is the minimum of offset+buf.length and buf.length. The buffer array is not copied. The buffer's mark is set to the specified offset.
        Parameters:
        buf - the input buffer.
        offset - the offset in the buffer of the first byte to read.
      • LittleEndianByteArrayInputStream

        public LittleEndianByteArrayInputStream​(byte[] buf)
        Creates a LittleEndianByteArrayInputStream so that it uses buf as its buffer array. The buffer array is not copied. The initial value of pos is 0 and the initial value of count is the length of buf.
        Parameters:
        buf - the input buffer.