public class ExternalByteArrayCodec extends AbstractBitCodec<byte[]>
Constructor and Description |
---|
ExternalByteArrayCodec(java.io.OutputStream os,
java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
long |
numberOfBits(byte[] object) |
byte[] |
read(BitInputStream bis) |
byte[] |
read(BitInputStream bis,
int len) |
void |
readInto(BitInputStream bis,
byte[] array,
int offset,
int valueLen) |
void |
skip(BitInputStream bis) |
void |
skip(BitInputStream bis,
int len) |
long |
write(BitOutputStream bos,
byte[] object) |
public ExternalByteArrayCodec(java.io.OutputStream os, java.io.InputStream is)
public byte[] read(BitInputStream bis, int len) throws java.io.IOException
read
in interface BitCodec<byte[]>
read
in class AbstractBitCodec<byte[]>
java.io.IOException
public void readInto(BitInputStream bis, byte[] array, int offset, int valueLen) throws java.io.IOException
readInto
in interface BitCodec<byte[]>
readInto
in class AbstractBitCodec<byte[]>
java.io.IOException
public void skip(BitInputStream bis) throws java.io.IOException
skip
in interface BitCodec<byte[]>
skip
in class AbstractBitCodec<byte[]>
java.io.IOException
public void skip(BitInputStream bis, int len) throws java.io.IOException
skip
in interface BitCodec<byte[]>
skip
in class AbstractBitCodec<byte[]>
java.io.IOException
public long write(BitOutputStream bos, byte[] object) throws java.io.IOException
write
in interface BitCodec<byte[]>
write
in class AbstractBitCodec<byte[]>
java.io.IOException
public long numberOfBits(byte[] object)
numberOfBits
in interface BitCodec<byte[]>
numberOfBits
in class AbstractBitCodec<byte[]>
public byte[] read(BitInputStream bis) throws java.io.IOException
read
in interface BitCodec<byte[]>
read
in class AbstractBitCodec<byte[]>
java.io.IOException