Class PacketBuffer
- java.lang.Object
-
- org.apache.sshd.common.util.buffer.Buffer
-
- org.apache.sshd.common.util.buffer.ByteArrayBuffer
-
- org.apache.sshd.common.session.helpers.PacketBuffer
-
- All Implemented Interfaces:
Readable
public class PacketBuffer extends ByteArrayBuffer
AByteArrayBuffer
that will be prepared with the SSH header (5 bytes).
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.buffer.ByteArrayBuffer
DEFAULT_SIZE
-
-
Constructor Summary
Constructors Constructor Description PacketBuffer()
PacketBuffer(byte[] buf, boolean readOnly)
-
Method Summary
-
Methods inherited from class org.apache.sshd.common.util.buffer.ByteArrayBuffer
array, available, capacity, clear, compact, copyRawBytes, ensureCapacity, getByte, getBytesConsumed, getCompactClone, getCompactClone, getInt, getRawBytes, getString, getUInt, putBuffer, putBuffer, putByte, putBytes, putInt, putRawBytes, putUInt, rawByte, rawUInt, rpos, rpos, size, wpos, wpos
-
Methods inherited from class org.apache.sshd.common.util.buffer.Buffer
clear, dumpHex, dumpHex, ensureAvailable, ensureCapacity, extractEC, getAvailableStrings, getAvailableStrings, getBoolean, getBytes, getCertificateOptions, getCertificateOptions, getCompactData, getKeyPair, getLong, getMPInt, getMPIntAsBytes, getNameList, getNameList, getNameList, getNameList, getPublicKey, getPublicKey, getRawBytes, getRawPublicKey, getRawPublicKey, getShort, getString, getStringList, getStringList, getStringList, getStringList, getUByte, getUShort, isValidMessageStructure, isValidMessageStructure, putAndWipeBytes, putAndWipeBytes, putAndWipeChars, putAndWipeChars, putAndWipeChars, putAndWipeChars, putBoolean, putBuffer, putBufferedData, putBytes, putCertificateOptions, putCertificateOptions, putChars, putChars, putChars, putChars, putKeyPair, putLong, putMPInt, putMPInt, putNameList, putNameList, putNameList, putNameList, putOptionalBufferedData, putPublicKey, putRawBytes, putRawPublicKey, putRawPublicKeyBytes, putShort, putString, putString, putStringList, putStringList, toHex, toString
-
-