vint32

Crates.iovint32
lib.rsvint32
version0.3.0
sourcesrc
created_at2020-12-20 17:41:26.62598
updated_at2020-12-28 09:01:54.124517
descriptionfast vint u32 encoding
homepage
repository
max_upload_size
id324953
size26,744
(PSeitz)

documentation

README

Vint32

Fast vint u32 encoding for rust. Uses at most 5 bytes.

Examples

use vint32::encode_varint_into;
let mut output = vec![];
encode_varint_into(&mut output, 50);	
assert_eq!(output.len(), 1);

Tests

cargo test --all-features

Commit count: 0

cargo fmt