Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Endianness #2

Open
Michael-Kelley opened this issue Jun 22, 2016 · 1 comment
Open

Endianness #2

Michael-Kelley opened this issue Jun 22, 2016 · 1 comment
Assignees
Milestone

Comments

@Michael-Kelley
Copy link
Owner

Michael-Kelley commented Jun 22, 2016

Implement a keyword to support specifying the endianness of the data.
Endianness should be specified at the beginning of the schema file, before anything else (including include statements).
Proposed syntax introduces the order keyword:

order little-endian;
@Michael-Kelley Michael-Kelley added this to the 1.0.0 milestone Jun 22, 2016
@Michael-Kelley Michael-Kelley self-assigned this Jun 22, 2016
@AridTag
Copy link

AridTag commented Jan 23, 2019

I just stumbled upon this repo from an old reddit thread.

When this feature gets worked on it might be nice to be able to override endianness on a per field basis. One of the data formats I'm dealing with right now likes to switch up the endianness of fields as an obfuscation tactic. It even uses non standard byte orderings for a few of the fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants