Skip to content

Little endian support #3

Open
Open
@yisonPylkita

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)

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