add example subsection
This commit is contained in:
parent
b1a067e151
commit
6b7239d90f
|
|
@ -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 object takes up in memory in a running Rust program.
|
||||
|
||||
## Example
|
||||
|
||||
```rust
|
||||
extern crate binary_encode;
|
||||
extern crate serialize;
|
||||
|
|
|
|||
|
|
@ -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 object takes up in memory in a running Rust program.
|
||||
|
||||
## Example
|
||||
|
||||
^code(./examples/basic.rs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue