@InterfaceAudience.Private public class DataOutputOutputStream extends OutputStream
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, flush
public static OutputStream constructOutputStream(DataOutput out)
out
- the DataOutput to wrappublic void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException