@Public public interface DataOutputView extends DataOutput
|Modifier and Type||Method and Description|
void skipBytesToWrite(int numBytes) throws IOException
numBytesbytes memory. If some program reads the memory that was skipped over, the results are undefined.
numBytes- 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.
void write(DataInputView source, int numBytes) throws IOException
numBytesbytes from the source to this view.
source- 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 © 2014–2019 The Apache Software Foundation. All rights reserved.