public class MemorySBOS extends BitByteOutputStream
| Modifier and Type | Field and Description |
|---|---|
protected MemoryOutputStream |
mos
The underlying MemoryOutputStream
|
byteToWritebitOffset, 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, writeUnaryappend, append, flush, padAndFlush, writeBinary, writeDelta, writeGamma, writeGolomb, writeInterpolativeCode, writeMinimalBinary, writeSkewedGolombprotected MemoryOutputStream mos
public MemorySBOS()
throws IOException
IOException - if an I/O error occurs.public String toString()
public MemoryOutputStream getMOS()
public int getSize()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow