Package com.trilead.ssh2.packets
Class TypesWriter
- java.lang.Object
-
- com.trilead.ssh2.packets.TypesWriter
-
public class TypesWriter extends Object
TypesWriter.- Version:
- $Id: TypesWriter.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description TypesWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()voidgetBytes(byte[] dst)intlength()voidwriteBoolean(boolean v)voidwriteByte(int v)voidwriteByte(int v, int off)voidwriteBytes(byte[] buff)voidwriteBytes(byte[] buff, int off, int len)voidwriteMPInt(BigInteger b)voidwriteNameList(String[] v)voidwriteString(byte[] buff, int off, int len)voidwriteString(String v)voidwriteString(String v, String charsetName)voidwriteUINT32(int val)voidwriteUINT32(int val, int off)voidwriteUINT64(long val)
-
-
-
Method Detail
-
length
public int length()
-
getBytes
public byte[] getBytes()
-
getBytes
public void getBytes(byte[] dst)
-
writeUINT32
public void writeUINT32(int val, int off)
-
writeUINT32
public void writeUINT32(int val)
-
writeUINT64
public void writeUINT64(long val)
-
writeBoolean
public void writeBoolean(boolean v)
-
writeByte
public void writeByte(int v, int off)
-
writeByte
public void writeByte(int v)
-
writeMPInt
public void writeMPInt(BigInteger b)
-
writeBytes
public void writeBytes(byte[] buff)
-
writeBytes
public void writeBytes(byte[] buff, int off, int len)
-
writeString
public void writeString(byte[] buff, int off, int len)
-
writeString
public void writeString(String v)
-
writeString
public void writeString(String v, String charsetName) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
writeNameList
public void writeNameList(String[] v)
-
-