2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
nushell/crates/nu-cmd-extra/src
moonlander d3895d71db
add binary data handling to bits commands ()
# Description
- enables `bits` commands to operate on binary data, where both inputs
are binary and can vary in length
- adds an `--endian` flag to `bits and`, `or`, `xor` for specifying
endianness (for binary values of different lengths)

# User-Facing Changes
- `bits` commands will no longer error for non-int inputs
- the default for `--number-bytes` is now `auto` (infer int size;
changed from 8)

# Tests + Formatting
> addendum: first PR, please inform if any changes are needed
2024-02-28 20:43:50 +08:00
..
extra add binary data handling to bits commands () 2024-02-28 20:43:50 +08:00
example_test.rs move math constants to standard library () 2023-09-05 19:32:31 +02:00
lib.rs nu-cmd-extra crate infrastructure in place with the Bits command as the model for adding other commands () 2023-06-01 10:46:16 -07:00