public class ProtostuffDataInputView extends Object implements DataInputView
| 构造器和说明 |
|---|
ProtostuffDataInputView(InputStream inputStream) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
Object |
readObject() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
int |
skipBytes(int n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBytespublic ProtostuffDataInputView(InputStream inputStream)
public void readFully(byte[] b)
throws IOException
readFully 在接口中 DataInputIOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
readFully 在接口中 DataInputIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes 在接口中 DataInputIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean 在接口中 DataInputIOExceptionpublic byte readByte()
throws IOException
readByte 在接口中 DataInputIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte 在接口中 DataInputIOExceptionpublic short readShort()
throws IOException
readShort 在接口中 DataInputIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort 在接口中 DataInputIOExceptionpublic char readChar()
throws IOException
readChar 在接口中 DataInputIOExceptionpublic int readInt()
throws IOException
readInt 在接口中 DataInputIOExceptionpublic long readLong()
throws IOException
readLong 在接口中 DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat 在接口中 DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble 在接口中 DataInputIOExceptionpublic String readLine() throws IOException
readLine 在接口中 DataInputIOExceptionpublic String readUTF() throws IOException
readUTF 在接口中 DataInputIOExceptionpublic Object readObject() throws IOException, ClassNotFoundException
readObject 在接口中 DataInputViewIOExceptionClassNotFoundExceptionCopyright © 2021. All rights reserved.