Skip to content
/ tbon Public

A compact and versatile stream-friendly binary serialization format

License

Notifications You must be signed in to change notification settings

haydnv/tbon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinychain Binary Object Notation

Tinychain Binary Object Notation (TBON) is a compact and versatile stream-friendly binary serialization format.

Example:

let expected = ("one".to_string(), 2.0, vec![3, 4], Bytes::from(vec![5u8]));
let stream = tbon::en::encode(&expected).unwrap();
let actual = tbon::de::try_decode((), stream).await.unwrap();
assert_eq!(expected, actual);

About

A compact and versatile stream-friendly binary serialization format

Resources

License

Stars

Watchers

Forks

Languages