Package com.jcraft.jsch.agentproxy
Class Buffer
- java.lang.Object
-
- com.jcraft.jsch.agentproxy.Buffer
-
public class Buffer extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckFreeSize(int n)intgetByte()voidgetByte(byte[] foo)(package private) voidgetByte(byte[] foo, int start, int len)intgetByte(int len)(package private) bytegetCommand()intgetInt()intgetLength()longgetLong()byte[]getMPInt()byte[]getMPIntBits()intgetOffSet()(package private) intgetShort()byte[]getString()(package private) byte[]getString(int[] start, int[] len)longgetUInt()(package private) voidinsertLength()voidputByte(byte foo)voidputByte(byte[] foo)voidputByte(byte[] foo, int begin, int length)voidputInt(int val)voidputLong(long val)voidputMPInt(byte[] foo)(package private) voidputPad(int n)voidputString(byte[] foo)voidputString(byte[] foo, int begin, int length)voidreset()voidrewind()voidsetOffSet(int s)voidshift()(package private) voidskip(int n)
-
-
-
Method Detail
-
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)
-
skip
void skip(int n)
-
putPad
void putPad(int n)
-
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()
-
getShort
int getShort()
-
getByte
public int getByte()
-
getByte
public void getByte(byte[] foo)
-
getByte
void getByte(byte[] foo, int start, int len)
-
getByte
public int getByte(int len)
-
getMPInt
public byte[] getMPInt()
-
getMPIntBits
public byte[] getMPIntBits()
-
getString
public byte[] getString()
-
getString
byte[] getString(int[] start, int[] len)
-
reset
public void reset()
-
shift
public void shift()
-
rewind
public void rewind()
-
getCommand
byte getCommand()
-
checkFreeSize
public void checkFreeSize(int n)
-
insertLength
void insertLength()
-
-