Method | Description | |
---|---|---|
ReadBigInt ( ) : BigInteger |
Reads a BigInteger from the SSH datastream.
|
|
ReadBinary ( ) : byte[] |
Reads a byte array from the SSH data stream.
|
|
ReadString ( |
Reads the next string data type from the SSH data stream.
|
|
ReadUInt32 ( ) : uint |
Reads the next uint data type from the SSH data stream.
|
|
ReadUInt64 ( ) : ulong |
Reads the next ulong data type from the SSH data stream.
|
|
SshDataStream ( byte buffer ) : System |
Initializes a new non-resizable instance of the SshDataStream class based on the specified byte array.
|
|
SshDataStream ( byte buffer, int offset, int count ) : System |
Initializes a new non-resizable instance of the SshDataStream class based on the specified byte array.
|
|
SshDataStream ( int capacity ) : System |
Initializes a new instance of the SshDataStream class with an expandable capacity initialized as specified.
|
|
ToArray ( ) : byte[] |
Writes the stream contents to a byte array, regardless of the MemoryStream.Position. If the current instance was constructed on a provided byte array, a copy of the section of the array to which this instance has access is returned. |
|
Write ( BigInteger data ) : void |
Writes a BigInteger into the SSH data stream.
|
|
Write ( byte data ) : void |
Writes bytes array data into the SSH data stream.
|
|
Write ( string s, |
Writes string data to the SSH data stream using the specified encoding.
|
|
Write ( uint value ) : void |
Writes an uint to the SSH data stream.
|
|
Write ( ulong value ) : void |
Writes an ulong to the SSH data stream.
|
|
WriteBinary ( byte buffer ) : void |
Writes a buffer preceded by its length into the SSH data stream.
|
|
WriteBinary ( byte buffer, int offset, int count ) : void |
Writes a buffer preceded by its length into the SSH data stream.
|
Method | Description | |
---|---|---|
ReadBytes ( int length ) : byte[] |
Reads next specified number of bytes data type from internal buffer.
|
public ReadString ( |
||
encoding | ||
return | string |
public SshDataStream ( byte buffer ) : System | ||
buffer | byte | The array of unsigned bytes from which to create the current stream. |
return | System |
public SshDataStream ( byte buffer, int offset, int count ) : System | ||
buffer | byte | The array of unsigned bytes from which to create the current stream. |
offset | int | The zero-based offset in |
count | int | The number of bytes to load. |
return | System |
public SshDataStream ( int capacity ) : System | ||
capacity | int | The initial size of the internal array in bytes. |
return | System |
public Write ( BigInteger data ) : void | ||
data | BigInteger | The |
return | void |
public Write ( byte data ) : void | ||
data | byte | Byte array data to write. |
return | void |
public Write ( string s, |
||
s | string | The string data to write. |
encoding | The character encoding to use. | |
return | void |
public WriteBinary ( byte buffer ) : void | ||
buffer | byte | The data to write. |
return | void |
public WriteBinary ( byte buffer, int offset, int count ) : void | ||
buffer | byte | An array of bytes. This method write |
offset | int | The zero-based byte offset in |
count | int | The number of bytes to be written to the current SSH data stream. |
return | void |