@InterfaceAudience.Private public class DataOutputOutputStream extends OutputStream
| 限定符和类型 | 方法和说明 |
|---|---|
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, flushpublic static OutputStream constructOutputStream(DataOutput out)
out - the DataOutput to wrappublic void write(int b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write 在类中 OutputStreamIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.