Trait reanim_decode::stream::Decode

source ·
pub trait Decode<Args>: NamedArgs + Sized {
    // Required method
    fn decode_with<S: Stream + ?Sized>(s: &mut S, args: Args) -> Result<Self>;
}
Expand description

Common entry for decoding binary data.

Required Methods§

source

fn decode_with<S: Stream + ?Sized>(s: &mut S, args: Args) -> Result<Self>

Decode complex data at current position in the Stream.

Object Safety§

This trait is not object safe.

Implementors§