SSH.Channel.WriteBuffer - charonn0/RB-libssh2 GitHub Wiki

SSH.Channel.WriteBuffer

Method Signatures

 Sub WriteBuffer(Data As MemoryBlock, StreamID As Integer)

Parameters

Name Type Comment
Data MemoryBlock The data to write to the channel.
StreamID Integer The stream to write to.

Remarks

This method is the same as Write() except it takes a MemoryBlock instead of a String. This allows us to point to the Data directly instead of copying it.