bramble-data 0.1.1

Bramble's Binary Data Format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Binary data format, version 1
#![warn(missing_docs)]

mod constants;
mod de;
mod error;
mod object;
mod ser;

pub mod custom;

pub use de::{from_reader, from_slice, Deserializer, StreamDeserializer};
pub use error::{Error, Result};
pub use object::{from_object, to_object, Object, Serializer as ObjectSerializer};
pub use ser::{to_vec, to_writer, Serializer};

/// A BDF map type.
pub type Map = std::collections::BTreeMap<String, Object>;