bytes reverse for bytes
Reverse the bytes in the pipeline.
Signature
> bytes reverse {flags} ...rest
Parameters
-
...rest: For a data structure input, reverse data at the given cell paths.
Input/output types:
| input | output |
|---|---|
| binary | binary |
| table | table |
| record | record |
Examples
Reverse bytes 0x[1F FF AA AA].
> 0x[1F FF AA AA] | bytes reverse Length: 4 (0x4) bytes | null_char printable whitespace ascii_other non_ascii 00000000: aa aa ff 1f ××ו
Reverse bytes 0x[FF AA AA].
> 0x[FF AA AA] | bytes reverse Length: 3 (0x3) bytes | null_char printable whitespace ascii_other non_ascii 00000000: aa aa ff ×××
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/bytes_reverse.html