public class SessionWorkBuffer extends ByteArrayBuffer implements SessionHolder<Session>
Modifier and Type | Field and Description |
---|---|
private Session |
session |
DEFAULT_SIZE
Constructor and Description |
---|
SessionWorkBuffer(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
clear(boolean wipeData)
Reset read/write positions to zero
|
void |
forceClear(boolean wipeData) |
Session |
getSession() |
array, available, capacity, compact, copyRawBytes, ensureCapacity, getByte, getCompactClone, getCompactClone, getRawBytes, getString, putBuffer, putBuffer, putByte, putRawBytes, rpos, rpos, size, wpos, wpos
clear, dumpHex, dumpHex, ensureAvailable, ensureCapacity, extractEC, getAvailableStrings, getAvailableStrings, getBoolean, getBytes, getCompactData, getInt, getKeyPair, getLong, getMPInt, getMPIntAsBytes, getPublicKey, getPublicKey, getRawBytes, getRawPublicKey, getRawPublicKey, getShort, getString, getStringList, getStringList, getStringList, getStringList, getUByte, getUInt, isValidMessageStructure, isValidMessageStructure, putAndWipeBytes, putAndWipeBytes, putAndWipeChars, putAndWipeChars, putAndWipeChars, putAndWipeChars, putBoolean, putBuffer, putBytes, putBytes, putChars, putChars, putChars, putChars, putInt, putKeyPair, putLong, putMPInt, putMPInt, putPublicKey, putRawBytes, putRawPublicKey, putShort, putString, putString, putStringList, putStringList, toHex, toString
private final Session session
public SessionWorkBuffer(Session session)
public Session getSession()
getSession
in interface SessionHolder<Session>
public void clear(boolean wipeData)
Buffer
clear
in class ByteArrayBuffer
wipeData
- Whether to zero any previously existing datapublic void forceClear(boolean wipeData)