public class DataInputViewStreamWrapper extends DataInputStream implements DataInputView
InputStream into a DataInputView.in| 构造器和说明 |
|---|
DataInputViewStreamWrapper(InputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 The Apache Software Foundation. All rights reserved.