zordon

Crates.iozordon
lib.rszordon
version0.2.0
sourcesrc
created_at2021-06-03 09:31:44.627386
updated_at2021-09-09 10:29:20.579868
descriptionSimple low-level abstractions for zero-copy parsing and mutation
homepage
repositoryhttps://github.com/Aetiology/zordon
max_upload_size
id405625
size28,377
(Aetiology)

documentation

README

Zordon

zordan_image

zordon provides simple low-level abstractions for zero-copy parsing and mutation. It is a no_std crate with alloc.

zordon types allow a single mutable u8 buffer to be treated as a series of u8-u128, i8-i128 or [u8; _] values without the need to copy data in the original buffer. Setting, getting and adding to the values is transparent via the methods implemented on the calling type.

The [MutView] derive macro can be used on a data structure whose fields use zordon types. Allowing a buffer to be parsed and manipulated like a typical rust struct.

For usage examples and documentation check out: docs

Commit count: 104

cargo fmt