Skip to content

Little endian support #3

Description

@yisonPylkita

Hi :)

Thank you for such a simple yet working library.

I noticed that this library only supports big endianness. I want to use it on x86 system and to use this library I would have to reverse bytes first.

Can you add functions like

template<class T>
T to_variable_from_le(const uint8_t* block)

and

template<class T>
T to_variable_from_be(const uint8_t* block)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions