Skip to content

SSH.Channel.Read

Andrew Lambert edited this page Aug 30, 2019 · 8 revisions

SSH.Channel.Read

Method Signatures

 Function Read(Count As Integer, StreamID As Integer, encoding As TextEncoding = Nil) As String
 Private 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.
StreamID Integer The stream to read from.
Encoding TextEncoding The TextEncoding of the data being read.

Return value

Returns a String containing the data that was read. When called on the Readable (or SSHStream) interface StreamID=0 will be used.

Remarks

Reads bytes from a channel if there is data available.

See also

Clone this wiki locally