类 ProtostuffDataInputView
- java.lang.Object
-
- cn.sliew.milky.serialize.protostuff.ProtostuffDataInputView
-
- 所有已实现的接口:
DataInputView,DataInput,Serializable
public class ProtostuffDataInputView extends Object implements DataInputView
Protostuff object input implementation- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ProtostuffDataInputView(InputStream inputStream)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanreadBoolean()bytereadByte()charreadChar()doublereadDouble()floatreadFloat()voidreadFully(byte[] b)voidreadFully(byte[] b, int off, int len)intreadInt()StringreadLine()longreadLong()ObjectreadObject()shortreadShort()intreadUnsignedByte()intreadUnsignedShort()StringreadUTF()intskipBytes(int n)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 cn.sliew.milky.serialize.DataInputView
readBytes
-
-
-
-
构造器详细资料
-
ProtostuffDataInputView
public ProtostuffDataInputView(InputStream inputStream)
-
-
方法详细资料
-
readFully
public void readFully(byte[] b) throws IOException- 指定者:
readFully在接口中DataInput- 抛出:
IOException
-
readFully
public void readFully(byte[] b, int off, int len) throws IOException- 指定者:
readFully在接口中DataInput- 抛出:
IOException
-
skipBytes
public int skipBytes(int n) throws IOException- 指定者:
skipBytes在接口中DataInput- 抛出:
IOException
-
readBoolean
public boolean readBoolean() throws IOException- 指定者:
readBoolean在接口中DataInput- 抛出:
IOException
-
readByte
public byte readByte() throws IOException- 指定者:
readByte在接口中DataInput- 抛出:
IOException
-
readUnsignedByte
public int readUnsignedByte() throws IOException- 指定者:
readUnsignedByte在接口中DataInput- 抛出:
IOException
-
readShort
public short readShort() throws IOException- 指定者:
readShort在接口中DataInput- 抛出:
IOException
-
readUnsignedShort
public int readUnsignedShort() throws IOException- 指定者:
readUnsignedShort在接口中DataInput- 抛出:
IOException
-
readChar
public char readChar() throws IOException- 指定者:
readChar在接口中DataInput- 抛出:
IOException
-
readInt
public int readInt() throws IOException- 指定者:
readInt在接口中DataInput- 抛出:
IOException
-
readLong
public long readLong() throws IOException- 指定者:
readLong在接口中DataInput- 抛出:
IOException
-
readFloat
public float readFloat() throws IOException- 指定者:
readFloat在接口中DataInput- 抛出:
IOException
-
readDouble
public double readDouble() throws IOException- 指定者:
readDouble在接口中DataInput- 抛出:
IOException
-
readLine
public String readLine() throws IOException
- 指定者:
readLine在接口中DataInput- 抛出:
IOException
-
readUTF
public String readUTF() throws IOException
- 指定者:
readUTF在接口中DataInput- 抛出:
IOException
-
readObject
public Object readObject() throws IOException, ClassNotFoundException
- 指定者:
readObject在接口中DataInputView- 抛出:
IOExceptionClassNotFoundException
-
-