@InterfaceAudience.Private public class DataOutputOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
private DataOutput |
out |
| Modifier | Constructor and Description |
|---|---|
private |
DataOutputOutputStream(DataOutput out) |
| Modifier and Type | Method and Description |
|---|---|
static OutputStream |
constructOutputStream(DataOutput out)
Construct an OutputStream from the given DataOutput.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushprivate final DataOutput out
private DataOutputOutputStream(DataOutput out)
public static OutputStream constructOutputStream(DataOutput out)
out - the DataOutput to wrappublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.