@Authors(value="Nikolche Mihajlovski") @Since(value="5.3.4") public class ReusableWritable extends OutputStream implements Writable
| Constructor and Description |
|---|
ReusableWritable() |
ReusableWritable(int size) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
array() |
int |
capacity() |
byte[] |
copy() |
void |
reset() |
int |
size() |
void |
write(byte[] src) |
void |
write(byte[] src,
int off,
int len) |
void |
write(int src) |
void |
writeByte(byte byteValue) |
void |
writeBytes(byte[] src) |
void |
writeBytes(byte[] src,
int offset,
int length) |
close, flushpublic ReusableWritable()
public ReusableWritable(int size)
public int capacity()
public void reset()
public int size()
public byte[] array()
public byte[] copy()
public void writeBytes(byte[] src)
writeBytes in interface Writablepublic void writeBytes(byte[] src,
int offset,
int length)
writeBytes in interface Writablepublic void write(int src)
write in class OutputStreampublic void write(byte[] src,
int off,
int len)
write in class OutputStreampublic void write(byte[] src)
write in class OutputStreamCopyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.