Struct yrs::updates::decoder::DecoderV1[][src]

pub struct DecoderV1<'a> { /* fields omitted */ }
Expand description

Version 1 of lib0 decoder.

Implementations

Trait Implementations

Reset the value of current delete set state.

Read next DeleteSet clock value.

Read the number of clients stored in encoded DeleteSet.

Read left origin of a currently decoded [Block].

Read right origin of a currently decoded [Block].

Read currently decoded client identifier.

Read info bit flags of a currently decoded [Block].

Read bit flags determining type of parent of a currently decoded [Block].

Read type ref info of a currently decoded [Block] parent.

Read length parameter.

Decode a JSON-like data type. It’s a complex type which is an extension of native JavaScript Object Notation. Read more

Read key string.

Consume a rest of the decoded buffer data and return it without parsing.

Performs the conversion.

Performs the conversion.

Read a single byte.

Read a variable length buffer.

Read 2 bytes as unsigned integer

Read 4 bytes as unsigned integer

Read 4 bytes as unsigned integer in big endian order. (most significant byte first) Read more

Read unsigned integer with variable length. Read more

Read signed integer with variable length. Read more

Read string of variable length.

Read float32 in big endian order

Read float64 in big endian order

Read BigInt64 in big endian order

read BigUInt64 in big endian order

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.