Commit Graph

17 Commits

Author SHA1 Message Date
Ty Overby 0cfb64511c moved the two designs into modules 2015-08-07 17:35:27 -07:00
Ty Overby e3837055d7 Removes the "bytes read" return part from `decode`
This reverts commit 5fa0c2bd8a.

Conflicts:
	Cargo.toml
2015-05-18 23:28:39 -07:00
Ty Overby 5fa0c2bd8a Decoders return the number of bytes that they read
Closes #35
2015-05-01 09:17:18 -07:00
Ty Overby 1bbd5377e3 rustup 2015-03-25 15:50:41 -07:00
Ty Overby 5f85e9b19a Use new io, update for rustc changes 2015-02-21 21:42:59 -08:00
Ty Overby 54061d5eff Add more documentation and a doc example 2015-01-13 13:37:53 -08:00
TyOverby 97e675ac06 Merge branch 'master' of github.com:TyOverby/bincode
Conflicts:
	src/writer.rs
2015-01-09 12:58:04 -08:00
TyOverby 6fe6e8d251 update for 1.0.0-alpha 2015-01-09 12:51:58 -08:00
Ty Overby c7ed0e106c `decode` takes a slice rather than a vec.
Also added comments for the main functions.
2015-01-08 23:32:21 -08:00
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
TyOverby bfbaeaacd1 added size-limits to all functions. Currently the size limits aren't actually enforced. 2015-01-05 11:19:08 -08:00
Ty Overby b873c9e75f added old_orphan_check feature to tests and examples 2015-01-03 15:06:43 -08:00
crhino 8f982f334e serialize crate has moved out of tree to rustc-serialize.
See commit b04bc5cc49
2014-12-24 12:25:57 -05:00
Theodore DeRego 2763b509ce Updated to latest rust nightly 2014-11-09 11:42:14 -10:00
Ty Overby 00929f29dc added a size assertion to the basic example 2014-10-27 13:27:44 -07:00
Ty Overby ed96883a53 changed project name to 'bincode' 2014-10-27 09:45:24 -07:00
Ty Overby b674029743 added basic test 2014-09-17 02:20:33 -07:00