SSH.SCPStream.ReadBuffer - charonn0/RB-libssh2 GitHub Wiki
SSH.SCPStream.ReadBuffer
Method Signature
Function ReadBuffer(Count As Integer, StreamID As Integer) As MemoryBlock
Parameters
| Name | Type | Comment |
|---|---|---|
Count |
Integer | The number of bytes to read. |
StreamID |
Integer | The stream to read from. |
Return value
Returns a MemoryBlock containing the data that was read.
Remarks
This method is the same as Read() except it returns a MemoryBlock instead of a String.