#byte-buffer #webrender #serialization #deserialize #data #zng #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

#1305 in Parser implementations

Download history 87/week @ 2024-04-01 213/week @ 2024-04-08 20/week @ 2024-04-15 14/week @ 2024-04-22 7/week @ 2024-04-29 1/week @ 2024-05-06

60 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–280KB