public class DataInputViewStreamWrapper extends DataInputStream implements DataInputView
InputStream into a DataInputView.in| Constructor and Description |
|---|
DataInputViewStreamWrapper(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
skipBytesToRead(int numBytes)
Skips
numBytes bytes of memory. |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic DataInputViewStreamWrapper(InputStream in)
public void skipBytesToRead(int numBytes)
throws IOException
DataInputViewnumBytes bytes of memory. In contrast to the DataInput.skipBytes(int) method,
this method always skips the desired number of bytes or throws an EOFException.skipBytesToRead in interface DataInputViewnumBytes - The number of bytes to skip.IOException - Thrown, if any I/O related problem occurred such that the input could not
be advanced to the desired position.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.