number-bytes 1.0.1

Provides a simple trait for converting generic numeric types to and from bytes
Documentation
  • Coverage
  • 43.75%
    7 out of 16 items documented0 out of 8 items with examples
  • Size
  • Source code size: 7.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.65 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Strikeless

number-bytes

Rust library that provides a simple trait for converting generic numeric types to and from bytes. Provides the functionality of the to_xx_bytes and from_xx_bytes functions of Rust's numeric types under a trait and a constant value telling how many bytes the type uses.

crates.io | docs.rs