#byte-buffer #serialization #zng #webrender #deserialize #binary-encoding

zng-peek-poke

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

6 releases

0.5.1 Apr 17, 2026
0.5.0 Nov 8, 2025
0.4.0 Jun 24, 2025
0.3.2 Jun 9, 2024
0.3.1 Apr 10, 2024

#943 in Encoding

Download history 384/week @ 2026-02-19 165/week @ 2026-02-26 247/week @ 2026-03-05 391/week @ 2026-03-12 282/week @ 2026-03-19 321/week @ 2026-03-26 165/week @ 2026-04-02 483/week @ 2026-04-09 629/week @ 2026-04-16 160/week @ 2026-04-23 171/week @ 2026-04-30 281/week @ 2026-05-07 143/week @ 2026-05-14 79/week @ 2026-05-21 74/week @ 2026-05-28 53/week @ 2026-06-04

409 downloads per month
Used in 3 crates (via zng-webrender-api)

MIT/Apache

25KB
465 lines

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

Binary Encoding Scheme

Usage

Comparison to bincode


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.

Note that as of zng-0.22 the Zng project is depending on the original webrender again as it finally updated, this fork release will only update if a security issue is reported.

Dependencies

~230KB