#byte #base #numbers #convert #convert-bytes #converting #integer

byte-num

Crate for converting numbers to bytes, and bytes to numbers in base 10!

4 releases

0.1.3 Jan 1, 2019
0.1.2 Aug 13, 2018
0.1.1 Aug 1, 2018
0.1.0 May 25, 2018

#2144 in Algorithms

MIT license

20KB
444 lines

This crate provides functions to convert from and into bytes, in base 10. The functions are based on the fastware talks of Andrei Alexandrescu (Talk).

To convert from bytes, to integers, use the from_ascii module.

To convert from integers, to bytes, use the into_ascii module.

No runtime deps

Features