SshChannel.readExtended

SshResult readExtended(ubyte[] buffer)

Reads extended data (stderr) into the buffer. Extended data shares the channel receive window with standard data; draining or discarding it is required to keep receiving (see discardExtendedData).

Parameters

bufferDestination buffer.

Returns

Bytes read, progress, EOF flag, or error details.