public class MyBitInputStream extends InputStream implements BinaryConstants
BYTE_ORDER_BIG_ENDIAN, BYTE_ORDER_INTEL, BYTE_ORDER_LEAST_SIGNIFICANT_BYTE, BYTE_ORDER_LITTLE_ENDIAN, BYTE_ORDER_LSB, BYTE_ORDER_MOST_SIGNIFICANT_BYTE, BYTE_ORDER_MOTOROLA, BYTE_ORDER_MSB, BYTE_ORDER_NETWORK| Constructor and Description |
|---|
MyBitInputStream(InputStream is,
int byteOrder) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCache() |
long |
getBytesRead() |
int |
read() |
int |
readBits(int SampleBits) |
void |
setTiffLZWMode() |
available, close, mark, markSupported, read, read, reset, skippublic MyBitInputStream(InputStream is, int byteOrder)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void setTiffLZWMode()
public int readBits(int SampleBits)
throws IOException
IOExceptionpublic void flushCache()
public long getBytesRead()
Copyright © 2007-2012. All Rights Reserved.