SSH.SSHStream.Read - charonn0/RB-libssh2 GitHub Wiki
SSH.SSHStream.Read
Method Signatures
Function Read(Count As Integer, encoding As TextEncoding = Nil) As String Implements Readable.Read
Parameters
| Name | Type | Comment |
|---|---|---|
Count |
Integer | The number of bytes to read. |
Encoding |
TextEncoding |
The TextEncoding of the data being read. |
Return value
Returns a String containing the data that was read.
Remarks
Reads bytes from a SSHStream if there is data available.