[][src]Module sync15::clients::ser

Structs

WriteCount

A writer that counts the number of bytes it's asked to write, and discards the data. Used to calculate the serialized size of the commands list.

Functions

compute_serialized_size

Returns the size of the given value, in bytes, when serialized to JSON.

shrink_to_fit

Truncates list to fit within payload_size_max_bytes when serialized to JSON.