sysfunc-byteorder

This repository contains basic byte order support code for compile-time assessment and may use pre-compiled models derived from a given platform.

Originally this was designed to be significantly more complex, but it has been moved into other crates due to the massive size and weight bearing down on it. This now uses const fn and macro work to present byte order for:

The signed types should function in the same manner (as should floating point types, all things considered).

Various tricks cannot currently be employed, but the tricks here should suffice for most purposes (where the models are known but may be variable).

Functions

Features

no-core will require language features (copy, sized, and freeze), so expect that to be a problem if you are missing them. It will also require you implement various basic language features (which are this time aren't exactly a small ask due to const fn restrictions); at this stage it appears just to be Shl and BitOr.

Licence

This project is licensed under the ISC Licence. See LICENCE.