Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SSH.ReadHex
Reads bytes from channel and returns them hex encoded.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SSH.ReadHex"; SSH; length { ; Stream } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
SSH | The SSH session reference number from the plugin. | $ssh | |
length | Maximum number of bytes to read. | 10 | |
Stream | Which stream to read. Can be stdout or stderr. Stdout is default if parameter is empty or missing. |
"StdOut" | Optional |
Result
Returns text encoded as hex or error message.
Description
Reads bytes from channel and returns them hex encoded.The text returned may be shorter than length bytes.
See also
This function checks for a license.
Created 29th May 2016, last changed 1st June 2016