|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccs.utils.BitStringReader
public class BitStringReader
A BitStringReader accepts a bytestring and feeds it back one bit at a time. The treatment is big-endian: the high-order byte is byte 0, and the first bit returned is the high-order bit of that byte,
Constructor Summary | |
---|---|
BitStringReader(byte[] bytes)
Construct a new BitString to feed the supplied bytestring. |
Method Summary | |
---|---|
int |
next()
returns the next bit, or -1 if there are no bits left. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitStringReader(byte[] bytes)
Method Detail |
---|
public int next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |