@PublicEvolving 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, skipBytes
available, close, mark, markSupported, read, reset, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, read
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
public DataInputViewStreamWrapper(InputStream in)
public void skipBytesToRead(int numBytes) throws IOException
DataInputView
numBytes
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 DataInputView
numBytes
- 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 © 2014–2024 The Apache Software Foundation. All rights reserved.