Package com.jcraft.jsch
Class Buffer
- java.lang.Object
-
- com.jcraft.jsch.Buffer
-
public class Buffer extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
checkFreeSize(int n)
(package private) static Buffer
fromBytes(byte[][] args)
int
getByte()
void
getByte(byte[] foo)
(package private) void
getByte(byte[] foo, int start, int len)
int
getByte(int len)
(package private) byte[][]
getBytes(int n, java.lang.String msg)
(package private) byte
getCommand()
int
getInt()
int
getLength()
long
getLong()
byte[]
getMPInt()
byte[]
getMPIntBits()
int
getOffSet()
(package private) int
getShort()
byte[]
getString()
(package private) byte[]
getString(int[] start, int[] len)
long
getUInt()
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)
(package private) void
putPad(int n)
void
putString(byte[] foo)
void
putString(byte[] foo, int begin, int length)
void
reset()
(package private) void
rewind()
void
setOffSet(int s)
void
shift()
(package private) void
skip(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
void rewind()
-
getCommand
byte getCommand()
-
checkFreeSize
void checkFreeSize(int n)
-
getBytes
byte[][] getBytes(int n, java.lang.String msg) throws JSchException
- Throws:
JSchException
-
fromBytes
static Buffer fromBytes(byte[][] args)
-
-