encode hex for formats

Encode a binary value using hex.

WARNING

Command encode hex was not included in the official binaries by default, you have to build it with --features=extra flag

Signature

> encode hex {flags} ...rest

Parameters

  • ...rest: For a data structure input, encode data at the given cell paths

Input/output types:

inputoutput
binarystring
list<binary>list<string>
recordrecord
tabletable

Examples

Encode binary data

> 0x[09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0] | encode hex
09F911029D74E35BD84156C5635688C0