public class RunLengthBitsCollection extends BitsCollection<HashMap<Bits,AtomicInteger>>
BitsCollection.CodeType
bitDepth
map
Constructor and Description |
---|
RunLengthBitsCollection(int bitDepth)
Instantiates a new Run length bits collection.
|
Modifier and Type | Method and Description |
---|---|
void |
read(BitInputStream in)
Read.
|
void |
write(BitOutputStream out)
Write.
|
getType
public RunLengthBitsCollection(int bitDepth)
bitDepth
- the bit depthpublic void read(BitInputStream in) throws IOException
BitsCollection
read
in class BitsCollection<HashMap<Bits,AtomicInteger>>
in
- the inIOException
- the io exceptionpublic void write(BitOutputStream out) throws IOException
BitsCollection
write
in class BitsCollection<HashMap<Bits,AtomicInteger>>
out
- the outIOException
- the io exceptionCopyright © 2019 SimiaCryptus Software. All rights reserved.