public class BitWriter extends 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(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(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(String bitString)
IllegalArgumentException
- If any characters other than
'0' and '1' appear in the string.public byte[] toByteArray()
ome.codecs.BitWriter getWrapped()
public static void main(String[] args)
Copyright © 2017 Open Microscopy Environment