add example subsection

This commit is contained in:
Ty Overby 2014-09-17 02:51:51 -07:00
parent b1a067e151
commit 6b7239d90f
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@ A compact encoder / decoder pair that uses an binary zero-fluff encoding scheme.
The size of the encoded object will be the same or smaller than the size that The size of the encoded object will be the same or smaller than the size that
the object takes up in memory in a running Rust program. the object takes up in memory in a running Rust program.
## Example
```rust ```rust
extern crate binary_encode; extern crate binary_encode;
extern crate serialize; extern crate serialize;

View File

@ -4,4 +4,6 @@ A compact encoder / decoder pair that uses an binary zero-fluff encoding scheme.
The size of the encoded object will be the same or smaller than the size that The size of the encoded object will be the same or smaller than the size that
the object takes up in memory in a running Rust program. the object takes up in memory in a running Rust program.
## Example
^code(./examples/basic.rs) ^code(./examples/basic.rs)