bytes add for bytes> bytes add {flags} (data) ...rest
--index, -i {int}: index to insert binary data--end, -e: add to the end of binarydata: the binary to add...rest: for a data structure input, add bytes to the data at the given cell paths| input | output | 
|---|---|
| binary | binary | 
| list<binary> | list<binary> | 
| record | record | 
| table | table | 
Add bytes 0x[AA] to 0x[1F FF AA AA]
>0x[1FFFAAAA] |bytes add0x[AA]
Length:5 (0x5) bytes|printablewhitespaceascii_othernon_ascii
00000000:aa1fffaaaaו×××
Add bytes 0x[AA BB] to 0x[1F FF AA AA] at index 1
>0x[1FFFAAAA] |bytes add0x[AABB] -i1
Length:6 (0x6) bytes|printablewhitespaceascii_othernon_ascii
00000000:1faabbffaaaa•×××××
Add bytes 0x[11] to 0x[FF AA AA] at the end
>0x[FFAAAA] |bytes add0x[11] -e
Length:4 (0x4) bytes|printablewhitespaceascii_othernon_ascii
00000000:ffaaaa11××ו
Add bytes 0x[11 22 33] to 0x[FF AA AA] at the end, at index 1(the index is start from end)
>0x[FFAABB] |bytes add0x[112233] -e-i1
Length:6 (0x6) bytes|printablewhitespaceascii_othernon_ascii
00000000:ffaa112233bb×ו"3×
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/bytes_add.html