Package org.apache.commons.imaging.mylzw

# Class MyBitInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.imaging.mylzw.MyBitInputStream

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

public class MyBitInputStream extends FilterInputStream

- ## Field Summary

  ### Fields inherited from class java.io.FilterInputStream

  `in`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MyBitInputStream(InputStream is, ByteOrder byteOrder, boolean tiffLZWMode)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `flushCache()`
  `long`
  `getBytesRead()`
  `int`
  `read()`
  `int`
  `readBits(int sampleBits)`

  ### Methods inherited from class java.io.FilterInputStream

  `available, close, mark, markSupported, read, read, reset, skip`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MyBitInputStream

    public MyBitInputStream(InputStream is, ByteOrder byteOrder, boolean tiffLZWMode)

- ## Method Details

  - ### flushCache

    public void flushCache()

  - ### getBytesRead

    public long getBytesRead()

  - ### read

    public int read() throws IOException
    Overrides:
      `read` in class `FilterInputStream`
    Throws:
      `IOException`

  - ### readBits

    public int readBits(int sampleBits) throws IOException
    Throws:
      `IOException`