| java.lang.Object drjava.smyle.core.BitBuffer
BitBuffer | public class BitBuffer (Code) | | stores individual bits in a byte buffer and reads them back again.
You should only use each BitBuffer instance for reading OR writing.
|
Constructor Summary | |
public | BitBuffer(Buffer buffer) |
offstream | Buffer offstream(Code) | | |
BitBuffer | public BitBuffer(Buffer buffer)(Code) | | |
close | public void close()(Code) | | |
flushOffstream | void flushOffstream()(Code) | | |
readBits | public int readBits(int len)(Code) | | returns the bits or -1 if end of stream is reached
|
readOffstreamByte | public int readOffstreamByte()(Code) | | returns a byte (0..255) or -1 if end of stream is reached
|
writeBits | public void writeBits(int data, int len)(Code) | | |
writeOffstreamByte | public void writeOffstreamByte(byte b)(Code) | | |
|
|