Workflow Status Average time to resolve an issue Percentage of issues still open Maintenance

endicon

Implements endianness encodings using the codicon traits.

See the codicon crate for details.

Examples

```rust use endicon::Endianness; use codicon::Encoder;

let mut bytes = [0u8; 2]; let little = [1u8, 0u8]; let big = [0u8, 1u8];

1u16.encode(&mut bytes.asmut(), Endianness::Little).unwrap(); asserteq!(bytes, little);

1u16.encode(&mut bytes.asmut(), Endianness::Big).unwrap(); asserteq!(bytes, big); ```

License: Apache-2.0