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