class bitstream
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
bitcount |
(package private) byte[] |
buffer |
(package private) int |
buffer_len
The length in
buffer which is available to octets of this
bitstream. |
(package private) int |
buffer_off
The offset in
buffer of the first octet of this
bitstream. |
(package private) int |
pos |
Constructor and Description |
---|
bitstream(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
dopack(int index,
int bitno) |
(package private) int |
packcombine(int index,
int rest,
int bitno_rest) |
bitpack |
packsplit(int index,
int bitno_firstpart,
int bitno_total) |
int |
unpack(int bitno) |
int bitcount
int pos
final byte[] buffer
final int buffer_off
buffer
of the first octet of this
bitstream.final int buffer_len
buffer
which is available to octets of this
bitstream.public bitpack packsplit(int index, int bitno_firstpart, int bitno_total)
int packcombine(int index, int rest, int bitno_rest)
void dopack(int index, int bitno)
public int unpack(int bitno)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.