public class MemorySBOS extends BitByteOutputStream
Modifier and Type | Field and Description |
---|---|
protected MemoryOutputStream |
mos
The underlying MemoryOutputStream
|
byteToWrite
bitOffset, buffer, bufferPointer, bufferSize, byteOffset, DEFAULT_SIZE, dos, logger
Constructor and Description |
---|
MemorySBOS()
Constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
MemoryOutputStream |
getMOS() |
int |
getSize()
Return the amount of memory bytes consumed by the underlying buffer
|
String |
toString()
Writes the underlying MemoryOutputStream in String format.
|
close, getBitOffset, getByteOffset, getByteToWrite, pad, writeInt, writeUnary
append, append, flush, padAndFlush, writeBinary, writeDelta, writeGamma, writeGolomb, writeInterpolativeCode, writeMinimalBinary, writeSkewedGolomb
protected MemoryOutputStream mos
public MemorySBOS() throws IOException
IOException
- if an I/O error occurs.public String toString()
public MemoryOutputStream getMOS()
public int getSize()
Terrier 4.0. Copyright © 2004-2014 University of Glasgow