Package gov.nih.mipav.model.file
Class FileSVS.RLEBitInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- gov.nih.mipav.model.file.FileSVS.RLEBitInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- FileSVS
public class FileSVS.RLEBitInputStream extends java.io.FilterInputStream
-
-
Constructor Summary
Constructors Constructor Description RLEBitInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b, int off, int len)
int
readBits(int end, int start)
void
resetToStartCodeWord()
void
setInvert(boolean invert)
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
-
-
-
Method Detail
-
resetToStartCodeWord
public void resetToStartCodeWord()
-
setInvert
public void setInvert(boolean invert)
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
read
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
readBits
public int readBits(int end, int start) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
-