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.
Gets the index that represents zero in current data type.
protected SshData()
Gets data bytes array
Loads data from specified bytes.
Loads data from the specified buffer.
Loads data bytes into internal buffer.
Loads data bytes into internal buffer.
Called when type specific data need to be loaded.
Reads next data type as byte array from internal buffer.
Reads next boolean data type from 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 next string data type from internal buffer using the specific encoding.
Reads next uint16 data type from internal buffer.
Reads next uint32 data type from internal buffer.
Reads next uint64 data type from internal buffer.
Resets internal data reader index.
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.