java.lang.Object
com.jcraft.jsch.Buffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetByte()voidgetByte(byte[] foo)intgetByte(int len)intgetInt()intlonggetLong()byte[]getMPInt()byte[]intbyte[]longgetUInt()voidputByte(byte foo)voidputByte(byte[] foo)voidputByte(byte[] foo, int begin, int length)voidputInt(int val)voidputLong(long val)voidputMPInt(byte[] foo)voidputString(byte[] foo)voidputString(byte[] foo, int begin, int length)voidreset()voidsetOffSet(int s)voidshift()
-
Constructor Details
-
Buffer
public Buffer(int size) -
Buffer
public Buffer(byte[] buffer) -
Buffer
public Buffer()
-
-
Method Details
-
putByte
public void putByte(byte foo) -
putByte
public void putByte(byte[] foo) -
putByte
public void putByte(byte[] foo, int begin, int length) -
putString
public void putString(byte[] foo) -
putString
public void putString(byte[] foo, int begin, int length) -
putInt
public void putInt(int val) -
putLong
public void putLong(long val) -
putMPInt
public void putMPInt(byte[] foo) -
getLength
public int getLength() -
getOffSet
public int getOffSet() -
setOffSet
public void setOffSet(int s) -
getLong
public long getLong() -
getInt
public int getInt() -
getUInt
public long getUInt() -
getByte
public int getByte() -
getByte
public void getByte(byte[] foo) -
getByte
public int getByte(int len) -
getMPInt
public byte[] getMPInt() -
getMPIntBits
public byte[] getMPIntBits() -
getString
public byte[] getString() -
reset
public void reset() -
shift
public void shift()
-