8000 GitHub - jawm/leb: Rust crate for reading LEB128 numbers. Used in the JumpJet crate. · GitHub
[go: up one dir, main page]

Skip to content
jawmPublic

About

Rust crate for reading LEB128 numbers. Used in the JumpJet crate.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leb

Rust crate for reading Little Endian Base 128 numbers. Used in the JumpJet crate.

This crate provides a ReadLEB trait, which has methods read_varint and read_varuint. There is also an implementation of these methods for the std::io::Bytes type. These methods take a parameter specifying the maximum number of bits allowed for the number, which is useful when parsing WASM.

This crate was designed to be used in my JumpJet crate, but is generic and could be used elsewhere.

Contributions / critique welcome.

About

Rust crate for reading LEB128 numbers. Used in the JumpJet crate.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0