Package com.trilead.ssh2.packets
Class TypesReader
- java.lang.Object
-
- com.trilead.ssh2.packets.TypesReader
-
public class TypesReader extends Object
TypesReader.- Version:
- $Id: TypesReader.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description TypesReader(byte[] arr)TypesReader(byte[] arr, int off)TypesReader(byte[] arr, int off, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanreadBoolean()intreadByte()voidreadBytes(byte[] dst, int off, int len)byte[]readBytes(int len)byte[]readByteString()BigIntegerreadMPINT()String[]readNameList()StringreadString()StringreadString(String charsetName)intreadUINT32()longreadUINT64()intremain()
-
-
-
Method Detail
-
readByte
public int readByte() throws IOException- Throws:
IOException
-
readBytes
public byte[] readBytes(int len) throws IOException- Throws:
IOException
-
readBytes
public void readBytes(byte[] dst, int off, int len) throws IOException- Throws:
IOException
-
readBoolean
public boolean readBoolean() throws IOException- Throws:
IOException
-
readUINT32
public int readUINT32() throws IOException- Throws:
IOException
-
readUINT64
public long readUINT64() throws IOException- Throws:
IOException
-
readMPINT
public BigInteger readMPINT() throws IOException
- Throws:
IOException
-
readByteString
public byte[] readByteString() throws IOException- Throws:
IOException
-
readString
public String readString(String charsetName) throws IOException
- Throws:
IOException
-
readString
public String readString() throws IOException
- Throws:
IOException
-
readNameList
public String[] readNameList() throws IOException
- Throws:
IOException
-
remain
public int remain()
-
-