public class DataOutputViewStreamWrapper extends DataOutputStream implements DataOutputView
OutputStream into a DataOutputView.writtenout| 构造器和说明 |
|---|
DataOutputViewStreamWrapper(OutputStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
skipBytesToWrite(int numBytes)
Skips
numBytes bytes memory. |
void |
write(DataInputView source,
int numBytes)
Copies
numBytes bytes from the source to this view. |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic DataOutputViewStreamWrapper(OutputStream out)
public void skipBytesToWrite(int numBytes)
throws IOException
DataOutputViewnumBytes bytes memory. If some program reads the memory that was skipped over,
the results are undefined.skipBytesToWrite 在接口中 DataOutputViewnumBytes - The number of bytes to skip.IOException - Thrown, if any I/O related problem occurred such that the view could not
be advanced to the desired position.public void write(DataInputView source, int numBytes) throws IOException
DataOutputViewnumBytes bytes from the source to this view.write 在接口中 DataOutputViewsource - The source to copy the bytes from.numBytes - The number of bytes to copy.IOException - Thrown, if any I/O related problem occurred, such that either the input
view could not be read, or the output could not be written.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.