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
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()
-
Constructor Details
-
TypesReader
public TypesReader(byte[] arr) -
TypesReader
public TypesReader(byte[] arr, int off) -
TypesReader
public TypesReader(byte[] arr, int off, int len)
-
-
Method Details
-
readByte
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readBoolean
- Throws:
IOException
-
readUINT32
- Throws:
IOException
-
readUINT64
- Throws:
IOException
-
readMPINT
- Throws:
IOException
-
readByteString
- Throws:
IOException
-
readString
- Throws:
IOException
-
readString
- Throws:
IOException
-
readNameList
- Throws:
IOException
-
remain
public int remain()
-