public class BitWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ome.codecs.BitWriter |
writer
Deprecated.
|
Constructor and Description |
---|
BitWriter()
Deprecated.
Constructs a new bit writer.
|
BitWriter(int size)
Deprecated.
Constructs a new bit writer with the given initial buffer size.
|
Modifier and Type | Method and Description |
---|---|
(package private) ome.codecs.BitWriter |
getWrapped()
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
Tests the BitWriter class.
|
byte[] |
toByteArray()
Deprecated.
Gets an array containing all bits written thus far.
|
void |
write(int value,
int numBits)
Deprecated.
Writes the given value using the given number of bits.
|
void |
write(java.lang.String bitString)
Deprecated.
Writes the bits represented by a bit string to the buffer.
|
public BitWriter()
public BitWriter(int size)
public void write(int value, int numBits)
public void write(java.lang.String bitString)
java.lang.IllegalArgumentException
- If any characters other than
'0' and '1' appear in the string.public byte[] toByteArray()
ome.codecs.BitWriter getWrapped()
public static void main(java.lang.String[] args)
Copyright © 2021 Open Microscopy Environment