public class MemOutputStream extends FastOutputStream
| Modifier and Type | Field and Description |
|---|---|
List<byte[]> |
buffers |
buf, out, pos, written| Constructor and Description |
|---|
MemOutputStream(byte[] tempBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush(byte[] arr,
int offset,
int len)
All writes to the sink will go through this method
|
void |
writeAll(FastOutputStream fos) |
close, flush, flushBuffer, reserve, setWritten, size, wrap, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF, writtenpublic List<byte[]> buffers
public void flush(byte[] arr,
int offset,
int len)
throws IOException
FastOutputStreamflush in class FastOutputStreamIOExceptionpublic void writeAll(FastOutputStream fos) throws IOException
IOExceptionCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.