Skip to content

Add little endian feature to packet diagram #7312

@cotemok

Description

@cotemok

Proposal

Add an option in packet config for endianness bit counting
rendering should be done according to endianness:
case big: should be done as it is done already, with bit 0 on the left and bit n+1 on the right, filling should start with LSB and ends with MSB
case little: should be done with bit 0 on the right and bit n+1 on the left. also the bit filling should be done accordingly. filling starts with MSB and ends with LSB
default should be big

Example


title: "Example Packet"
config:
packet:
endianness: [little|big] default big

packet-beta

Screenshots

to day only this is possible:

Image

and this would be a nice feature to have:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions