bytes build for bytes
Create a binary value from the provided arguments.
Signature
> bytes build {flags} ...rest
Parameters
-
...rest: List of bytes.
Input/output types:
| input | output |
|---|---|
| nothing | binary |
Examples
Builds binary data from 0x[01 02], 0x[03], 0x[04].
> bytes build 0x[01 02] 0x[03] 0x[04] Length: 4 (0x4) bytes | null_char printable whitespace ascii_other non_ascii 00000000: 01 02 03 04 ••••
Builds binary data from byte numbers.
> bytes build 255 254 253 252 Length: 4 (0x4) bytes | null_char printable whitespace ascii_other non_ascii 00000000: ff fe fd fc ××××
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/bytes_build.html