Struct hdrhistogram::serialization::Deserializer[][src]

pub struct Deserializer { /* fields omitted */ }

Deserializer for all supported formats.

Since the serialization formats all include some magic bytes that allow reliable identification of the different formats, only one Deserializer implementation is needed.

Methods

impl Deserializer
[src]

Create a new deserializer.

Deserialize an encoded histogram from the provided reader.

Note that &[u8] and Cursor are convenient implementations of Read if you have some bytes already in slice or Vec form.

Trait Implementations

impl Default for Deserializer
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations