SshData
Base ssh data serialization type.
Gets the size of the message in bytes.
Gets the underlying SshDataStream that is used for reading and writing SSH data.
Gets a value indicating whether all data from the buffer has been read.
protected SshData()
Gets data bytes array.
Loads data from specified bytes.
Loads data from the specified buffer.
Called when type specific data need to be loaded.
Reads next data type as byte array from internal buffer.
Reads the next Boolean from the internal buffer.
Reads next byte data type from internal buffer.
Reads all data left in internal buffer at current position.
Reads next specified number of bytes data type from internal buffer.
Reads next extension-pair data type from internal buffer.
Reads next name-list data type from internal buffer.
Reads the next String from the internal buffer using the specified encoding.
Reads the next UInt16 from the internal buffer.
Reads the next UInt32 from the internal buffer.
Reads the next UInt64 from the internal buffer.
Called when type specific data need to be saved.
Writes bytes array data into internal buffer.
Writes a sequence of bytes to the current SSH data stream and advances the current position
within this stream by the number of bytes written.
Writes Byte data into internal buffer.
Writes Boolean into internal buffer.
Writes UInt32 data into internal buffer.
Writes UInt64 data into internal buffer.
Writes String data into internal buffer using default encoding.
Writes String data into internal buffer using the specified encoding.
Writes mpint data into internal buffer.
Writes name-list data into internal buffer.
Writes extension-pair data into internal buffer.
Writes data into internal buffer.
Writes data into internal buffer.
Writes the current message to the specified SshDataStream.