Java java.util.zip GZIPInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.util.zip GZIPInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.zip GZIPInputStream.

The text is from its open source code.

Field

intGZIP_MAGIC
GZIP header magic number.

Constructor

GZIPInputStream(InputStream in)
Creates a new input stream with a default buffer size.
GZIPInputStream(InputStream in, int size)
Creates a new input stream with the specified buffer size.

Method

intavailable()
Returns 0 after EOF has been reached, otherwise always return 1.
voidclose()
Closes this input stream and releases any system resources associated with the stream.
intread()
Reads a byte of uncompressed data.
intread(byte[] buf, int off, int len)
Reads uncompressed data into an array of bytes.
intread(byte b[])
Reads up to b.length bytes of data from this input stream into an array of bytes.