content
private byte[] content
The bytes read back, filled in when the buffer closes.
Bufferprivate ByteArrayOutputStreamprivate final intprivate byte[]MemoryBuffer(int size) byte[]intintvoidreadComplete(boolean success) toString()voidwriteComplete(boolean success) size - the initial capacity in bytesgetInputStream in interface BufferIOException - if no data has been writtengetOutputStream in interface BufferBufferreadComplete in interface Buffersuccess - if false, the read is considered failedwriteComplete in interface Buffersuccess - if true, stores the data; if false, discards it