public class OutputStreamCompactWriter extends CompactWriter
Constructor and Description |
---|
OutputStreamCompactWriter(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int off,
int len) |
void |
writeByte(int b) |
encodeZigZag, getNumberOfBytesSigned, getNumberOfBytesUnsigned, writeInt, writeLong, writeString, writeVariableLengthSignedInteger, writeVariableLengthUnsignedInteger
public OutputStreamCompactWriter(OutputStream os)
public void writeByte(int b) throws IOException
writeByte
in class CompactWriter
IOException
public void write(byte[] bytes) throws IOException
write
in class CompactWriter
IOException
public void write(byte[] bytes, int off, int len) throws IOException
write
in class CompactWriter
IOException