Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow viewing collection of bytes in the fancy binary viewer #7474

Open
kubouch opened this issue Dec 14, 2022 · 0 comments
Open

Allow viewing collection of bytes in the fancy binary viewer #7474

kubouch opened this issue Dec 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kubouch
Copy link
Contributor

kubouch commented Dec 14, 2022

Related problem

into binary produces a nice binary view only when the input is one integer/string/etc. but not on a collections. It would be really useful to view a collection of bytes in the binary viewer.

Current status:

> [ 255 255 ] | into binary
 0   [255, 0, 0, 0, 0, 0, 0, 0]
 1   [255, 0, 0, 0, 0, 0, 0, 0]

> 255 | into binary
Length: 8 (0x8) bytes | printable whitespace ascii_other non_ascii
00000000:   ff 00 00 00  00 00 00 00                             ×0000000

Describe the solution you'd like

> [ 255 255 ] | into binary
 Length: 8 (0x8) bytes | printable whitespace ascii_other non_ascii
00000000:   ff ff 00 00  00 00 00 00                             ××000000

Optionally, with a customizable word length:

> [ 255 255 ] | into binary -w 4
 Length: 8 (0x8) bytes | printable whitespace ascii_other non_ascii
00000000:   ff 00 00 00  ff 00 00 00                             ×000×000

Describe alternatives you've considered

Could be solved also by allowing collecting list of bytes/words into one binary blob.

Additional context and details

No response

@kubouch kubouch added the enhancement New feature or request label Dec 14, 2022
@kubouch kubouch changed the title Allow viewing collection of bytes as binary Allow viewing collection of bytes in the fancy binary viewer Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant