How shurankain/bbse works
BBSE is a small Rust library for encoding integers in a known range as binary-search paths and decoding those paths back into values. Its principal workflow is encode, retain or pass the path, then decode with the same range. Optional custom-midpoint functions support biased splits; BBSEStack stores multiple paths and decodes them together. The relationships shown are documented in the README or visible in src/lib.rs.
Main entry points: lib.rs BBSEStack
Components 6
Other components
- Library user
- Encode path
src/lib.rs - Decode value
src/lib.rs - Custom encode
src/lib.rs - Custom decode
src/lib.rs - BBSEStack
src/lib.rs
Connections 12
- Library user → Encode path: encodes value
README.md - Encode path → Library user: returns path
src/lib.rs - Library user → Decode value: supplies path
README.md - Decode value → Library user: returns value
src/lib.rs - Library user → Custom encode: chooses midpoint
README.md - Custom encode → Library user: returns path
src/lib.rs - Library user → Custom decode: supplies path
README.md - Custom decode → Library user: returns value
src/lib.rs - Library user → BBSEStack: uses stack
README.md - Encode path → BBSEStack: pushes paths
README.md - BBSEStack → Library user: decodes all
README.md - BBSEStack → Decode value: calls decoder
src/lib.rs