bincode-orig/examples
Ty Overby 23d8310f0b Fix size estimation of chars.
`char` in rust is 32-bits long, but is encoded using utf-8.  Previously,
bincode would assume the worst and say that chars are 4-bytes long
always, when in reality, they are often only 1 byte long.

This commit fixes that bug, adds a test for it, and does some general
cleanup in the library.
2015-01-08 11:05:12 -08:00
..
basic.rs Fix size estimation of chars. 2015-01-08 11:05:12 -08:00
file.rs added size-limits to all functions. Currently the size limits aren't actually enforced. 2015-01-05 11:19:08 -08:00