Class LittleEndianInputStream

  • All Implemented Interfaces:, java.lang.AutoCloseable, LittleEndianInput
    Direct Known Subclasses:

    public class LittleEndianInputStream
    implements LittleEndianInput
    Wraps an InputStream providing LittleEndianInput

    This class does not buffer any input, so the stream read position maintained by this class is consistent with that of the inner stream.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int available()  
      byte readByte()  
      double readDouble()  
      void readFully​(byte[] buf)  
      void readFully​(byte[] buf, int off, int len)  
      int readInt()  
      long readLong()  
      void readPlain​(byte[] buf, int off, int len)
      Usually acts the same as LittleEndianInput.readFully(byte[], int, int), but for an encrypted stream the raw (unencrypted) data is filled
      short readShort()  
      int readUByte()  
      long readUInt()
      get an unsigned int value from an InputStream
      int readUShort()  
      • Methods inherited from class

        close, mark, markSupported, read, read, read, reset, skip
      • Methods inherited from class

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LittleEndianInputStream

        public LittleEndianInputStream​( is)