Qu

range_decode

Builtin index · File I/O

result = range_decode(enc, [as_str=false])

Input: enc, as_str · Output: result

What it is

Inverse of range_encode: enc is the Record that call returned; as_str (named boolean, default false) asks for text instead of bytes.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = range_decode(enc, [as_str=false])
enc RecordInverse of range_encode: enc is the Record that call returned.
as_str boolean, optional (default false)as_str (named boolean, default false) asks for text instead of bytes.
result Vec, number, or Str
Returns a Vec of 0-255 numbers, or the decoded text as a Str when as_str = true.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.