net.sf.ehcache.store
class DiskStore.MemoryEfficientByteArrayOutputStream extends ByteArrayOutputStream
Constructor Summary | |
---|---|
MemoryEfficientByteArrayOutputStream(int size)
Creates a new byte array output stream, with a buffer capacity of
the specified size, in bytes.
|
Method Summary | |
---|---|
byte[] | getBytes()
Gets the bytes. |
Parameters: size the initial size.
Returns: the underlying byte[]