#byte #serialization #byte-buffer #zng #deserialize #data #size

zng-peek-poke

A mechanism for serializing and deserializing data into/from byte buffers, for use in WebRender

2 releases

0.3.1 Apr 10, 2024
0.3.0 Apr 7, 2024

#892 in Encoding

Download history 270/week @ 2024-04-06 45/week @ 2024-04-13 13/week @ 2024-04-20

328 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

25KB
465 lines

This crate is a fork of servo/webrender published for use in zng-ui/zng.

Feel free to use it in your own project, the code is the same, the crate is just renamed with "zng-" prefix.


lib.rs:

Fast binary serialization and deserialization for types with a known maximum size.

Binary Encoding Scheme

Usage

Comparison to bincode

Dependencies

~0–275KB