public class

TypesWriter

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.packets.TypesWriter

Class Overview

TypesWriter.

Summary

Fields
byte[] arr
int pos
Public Constructors
TypesWriter()
Public Methods
byte[] getBytes()
void getBytes(byte[] dst)
int length()
void writeBoolean(boolean v)
void writeByte(int v, int off)
void writeByte(int v)
void writeBytes(byte[] buff)
void writeBytes(byte[] buff, int off, int len)
void writeMPInt(BigInteger b)
void writeNameList(String[] v)
void writeString(String v, String charsetName)
void writeString(byte[] buff, int off, int len)
void writeString(String v)
void writeUINT32(int val)
void writeUINT32(int val, int off)
void writeUINT64(long val)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

byte[] arr

int pos

Public Constructors

public TypesWriter ()

Public Methods

public byte[] getBytes ()

public void getBytes (byte[] dst)

Parameters
dst

public int length ()

public void writeBoolean (boolean v)

Parameters
v

public void writeByte (int v, int off)

Parameters
v
off

public void writeByte (int v)

Parameters
v

public void writeBytes (byte[] buff)

Parameters
buff

public void writeBytes (byte[] buff, int off, int len)

Parameters
buff
off
len

public void writeMPInt (BigInteger b)

Parameters
b

public void writeNameList (String[] v)

Parameters
v

public void writeString (String v, String charsetName)

Parameters
v
charsetName

public void writeString (byte[] buff, int off, int len)

Parameters
buff
off
len

public void writeString (String v)

Parameters
v

public void writeUINT32 (int val)

Parameters
val

public void writeUINT32 (int val, int off)

Parameters
val
off

public void writeUINT64 (long val)

Parameters
val