Skip to content

[RFC] Option for endianness in streams #27

@PMunch

Description

@PMunch

We already have an issue for streams missing any concept of endianness. During a discussion on IRC we came to an agreement that it would be nice to have a way to specify endianness. I propose having an enum of the values eBig, eLittle, eNative and having an optional parameter static[StreamEndianness] for each of the read/write/peek procedures which defaults to eNative to avoid deprecating the old code.

Other options would include having a non-static parameter, multiple procedures post-fixed with LE/BE, and dropping the eNative value while deprecating all stream operations.

The relevant discussion on IRC can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions