Module cdr::size

source ·
Expand description

Measuring the size of (de)serialized data.

Structs

A SizeLimit that restricts serialized or deserialized messages so that they do not exceed a certain byte length.
A SizeLimit without a limit.

Traits

Limits on the number of bytes that can be read or written.

Functions

Returns the size that an object would be if serialized.
Given a maximum size limit, check how large an object would be if it were to be serialized.