@InterfaceAudience.Public @InterfaceStability.Unstable public class DataOutputOutputStream extends OutputStream
修饰符和类型 | 方法和描述 |
---|---|
static OutputStream |
constructOutputStream(DataOutput out)
从给定的DataOutput构造一个OutputStream。
|
void |
写入(byte[] b) |
void |
写入(byte[] b,
int off,
int len) |
void |
写入(int b) |
close, flush
public static OutputStream constructOutputStream(DataOutput out)
out
- 要包装的DataOutputpublic void write(int b) throws IOException
write
在类 OutputStream
中IOException
public void write(byte[] b, int off, int len) throws IOException
write
在类 OutputStream
中IOException
public void write(byte[] b) 抛出 IOException
write
在类 OutputStream
中IOException
版权所有 © 2024 Apache软件基金会。保留所有权利。