com.jcraft.jsch

Class Buffer


public class Buffer
extends java.lang.Object

Constructor Summary

Buffer()
Buffer(byte[] buffer)
Buffer(int size)

Method Summary

int
getByte()
void
getByte(byte[] foo)
int
getByte(int len)
int
getInt()
int
getLength()
long
getLong()
byte[]
getMPInt()
byte[]
getMPIntBits()
int
getOffSet()
byte[]
getString()
void
putByte(byte foo)
void
putByte(byte[] foo)
void
putByte(byte[] foo, int begin, int length)
void
putInt(int val)
void
putLong(long val)
void
putMPInt(byte[] foo)
void
putString(byte[] foo)
void
putString(byte[] foo, int begin, int length)
void
reset()
void
setOffSet(int s)
void
shift()

Constructor Details

Buffer

public Buffer()

Buffer

public Buffer(byte[] buffer)

Buffer

public Buffer(int size)

Method Details

getByte

public int getByte()

getByte

public void getByte(byte[] foo)

getByte

public int getByte(int len)

getInt

public int getInt()

getLength

public int getLength()

getLong

public long getLong()

getMPInt

public byte[] getMPInt()

getMPIntBits

public byte[] getMPIntBits()

getOffSet

public int getOffSet()

getString

public byte[] getString()

putByte

public void putByte(byte foo)

putByte

public void putByte(byte[] foo)

putByte

public void putByte(byte[] foo,
                    int begin,
                    int length)

putInt

public void putInt(int val)

putLong

public void putLong(long val)

putMPInt

public void putMPInt(byte[] foo)

putString

public void putString(byte[] foo)

putString

public void putString(byte[] foo,
                      int begin,
                      int length)

reset

public void reset()

setOffSet

public void setOffSet(int s)

shift

public void shift()