Skip to content

I hope to be able to clearly indicate whether a struct is big-endian or little-endian. #2770

@lethargy123

Description

@lethargy123

I think a macro like #[zerocopy(little)] could be used to specify the endianness, so that for large structs there’s no need to use byteorder to indicate byte order. This would make it easier to quickly migrate code from other binary libraries to zerocopy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions