com.jcraft.jsch
Class Buffer
java.lang.Object
com.jcraft.jsch.Buffer
public class Buffer
- extends java.lang.Object
|
Field Summary |
(package private) byte[] |
buffer
|
(package private) int |
index
|
(package private) int |
s
|
(package private) byte[] |
tmp
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tmp
final byte[] tmp
buffer
byte[] buffer
index
int index
s
int s
Buffer
public Buffer(int size)
Buffer
public Buffer(byte[] buffer)
Buffer
public Buffer()
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()
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()
Copyright 2006 jcraft. All Rights Reserved.