Docs.rs
bufferfish-core-0.1.0
bufferfish-core 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
robertwayne
Dependencies
bytes ^1
normal
unicode-width ^0.1
normal
optional
Versions
97.78%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
bufferfish_
core
0.1.0
All Items
Crate Items
Re-exports
Modules
Structs
Enums
Crate
bufferfish_core
Copy item path
Source
Re-exports
§
pub use decodable::
Decodable
;
pub use encodable::
Encodable
;
Modules
§
decodable
Base trait for types that can be decoded from a
Bufferfish
. Implements decoding for primitive types.
encodable
Types implementing this trait are able to be encoded to a
Bufferfish
. Implements encoding for primitive types.
Structs
§
Bufferfish
A wrapper around a
Cursor<Vec<u8>>
that provides a simple API for reading and writing bytes. This is meant to be used with its companion library in TypeScript to provide consistent encoding and decoding interop.
Enums
§
Bufferfish
Error
Errors that can occur when encoding or decoding a
Bufferfish
.