bytes ends-with for bytes> bytes ends-with {flags} (pattern) ...rest
pattern: the pattern to match...rest: for a data structure input, check if bytes at the given cell paths end with the pattern| input | output | 
|---|---|
| binary | bool | 
| record | record | 
| table | table | 
Checks if binary ends with 0x[AA]
>0x[1FFFAAAA] |bytes ends-with0x[AA]
true
Checks if binary ends with 0x[FF AA AA]
>0x[1FFFAAAA] |bytes ends-with0x[FFAAAA]
true
Checks if binary ends with 0x[11]
>0x[1FFFAAAA] |bytes ends-with0x[11]
false
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/bytes_ends-with.html