public abstract class ByteStore
extends java.io.OutputStream
MemoryByteStore,
DiskBackedByteStore| Modifier and Type | Class and Description |
|---|---|
static interface |
ByteStore.Factory
A factory to create a byte store.
|
| Constructor and Description |
|---|
ByteStore() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getBytesWritten() |
abstract byte[] |
getData()
The returned byte buffer very likely has a different size than the bytes written.
|
abstract void |
reset()
Reset all pointers.
|
public abstract int getBytesWritten()
public abstract byte[] getData()
throws java.io.IOException
getBytesWritten() bytes with no
offset.java.io.IOExceptionpublic abstract void reset()
throws java.io.IOException
java.io.IOException