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) |
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, writeUtf8CharSeq, writtenpublic List<byte[]> buffers
public void flush(byte[] arr,
int offset,
int len)
throws IOException
flush in class FastOutputStreamIOExceptionpublic void writeAll(FastOutputStream fos) throws IOException
IOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.