public class DataOutputAsStream extends OutputStream
DataOutput for output, directly,
without caller having to provide for implementation.| Modifier and Type | Field and Description |
|---|---|
protected DataOutput |
_output |
| Constructor and Description |
|---|
DataOutputAsStream(DataOutput out) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int b) |
close, flushprotected final DataOutput _output
public DataOutputAsStream(DataOutput out)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2008–2019 FasterXML. All rights reserved.