Skip to content

Choose direction for padding binary #16

@gennyble

Description

@gennyble

it would be useful if you could pad binary to bytes in both directions.

I want 00000101 but that's a lot to type and not fun to read, what about .<101?

And 01110000 is .0111>?

not crazy about .< as it just look wrong, but i like the greater-and-less-than for the "expand this way". maybe we can implement and see how it looks.

This should only ever complete a byte, not complete a word (u16) or dword (u32) or whatever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions