public class BitWriter extends Object
Constructor and Description |
---|
BitWriter(ByteBuffer buf) |
Modifier and Type | Method and Description |
---|---|
int |
curBit() |
void |
flush() |
BitWriter |
fork() |
ByteBuffer |
getBuffer() |
int |
position() |
void |
write1Bit(int bit) |
void |
writeNBit(int value,
int n) |
public BitWriter(ByteBuffer buf)
public BitWriter fork()
public void flush()
public final void writeNBit(int value, int n)
public void write1Bit(int bit)
public int curBit()
public int position()
public ByteBuffer getBuffer()
Copyright © 2019. All rights reserved.