pub struct Decoder<R> { /* private fields */ }
Expand description

AMF0 decoder.

Implementations

Unwraps this Decoder, returning the underlying reader.

Get the reference to the underlying reader.

Get the mutable reference to the underlying reader.

Makes a new instance.

Decodes a AMF0 value.

Clear the reference table of this decoder.

Note that object reference indices are local to each message body. Serializers and deserializers must reset reference indices to 0 each time a new message is processed.

AMF 0 Specification: 4.1.3 AMF Message

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.