Package com.trilead.ssh2.channel
Class FifoBuffer.Pointer
java.lang.Object
com.trilead.ssh2.channel.FifoBuffer.Pointer
- Enclosing class:
- FifoBuffer
Points to a specific byte in a
FifoBuffer.Page
.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
[0,p.buf.size)(package private) FifoBuffer.Page
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
p
-
off
int off[0,p.buf.size)
-
-
Constructor Details
-
Pointer
Pointer(FifoBuffer.Page p, int off)
-
-
Method Details
-
chunk
private int chunk()Figure out the number of bytes that can be read/written in one array copy. -
write
public void write(byte[] buf, int start, int len) -
read
public void read(byte[] buf, int start, int len)
-