Struct msgp::Decoder [] [src]

pub struct Decoder { /* fields omitted */ }

A streaming Msgp decoder.

Methods

impl Decoder
[src]

Reads a decoded massage buffer, will return None if no buffer decoded.

Returns the buffer's length that wait for decoding. It usually is 0. Non-zero means that decoder need more buffer.

Returns decoded massages count. The decoded messages will be hold by decoder, until you read them.

Trait Implementations

impl Debug for Decoder
[src]

Formats the value using the given formatter.