Class MultiMemberOpenJDKGZIPInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class MultiMemberOpenJDKGZIPInputStream extends OpenJDK7GZIPInputStream
  • Constructor Details

  • Method Details

    • read

      public int read(byte[] inputBuffer, int inputBufferOffset, int inputBufferLen) throws IOException
      Description copied from class: OpenJDK7GZIPInputStream
      Reads uncompressed data into an array of bytes. If len is not zero, the method will block until some input can be decompressed; otherwise, no bytes are read and 0 is returned.
      Overrides:
      read in class OpenJDK7GZIPInputStream
      Parameters:
      inputBuffer - the buffer into which the data is read
      inputBufferOffset - the start offset in the destination array b
      inputBufferLen - the maximum number of bytes read
      Returns:
      the actual number of bytes read, or -1 if the end of the compressed input stream is reached
      Throws:
      IOException - if an I/O error has occurred.