Package org.apache.sshd.common.util
Interface Readable
-
- All Known Implementing Classes:
Buffer
,ByteArrayBuffer
,SessionWorkBuffer
public interface Readable
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description int
available()
void
getRawBytes(byte[] data, int offset, int len)
static Readable
readable(ByteBuffer buffer)
Wrap aByteBuffer
as aReadable
instance
-
-
-
Method Detail
-
available
int available()
-
getRawBytes
void getRawBytes(byte[] data, int offset, int len)
-
readable
static Readable readable(ByteBuffer buffer)
Wrap aByteBuffer
as aReadable
instance- Parameters:
buffer
- TheByteBuffer
to wrap - nevernull
- Returns:
- The
Readable
wrapper
-
-