Structs

Re-implement Cursor to only work over in-memory buffers and greatly narrow the possible error cases.

Enums

Traits

This trait allows for data serialized according to the Binary Data Serialization to be deserialized into concrete instances.

Type Definitions

The problem with being generic over std::io::Read is that it’s fallible, but in practice, we’re always going to serialize in-memory, so instead we just use a [u8] as our buffer.