pub fn fit_sequence<T>(
at: usize,
value: Vec<T>,
bound: usize,
behaviour: TryConstruct,
) -> Result<Narrowed<Vec<T>>, WireError>Expand description
A sequence that has been read whole, against the receiver’s bound.
Table 17, the SEQUENCE_TYPE row: “An object O2 of type T2 can
construct T1 if and only if O2.length <= T1.length.”
§7.3.1.2.1.12.3 is the TRIM case and it takes the first elements
— “a sequence of 4 longs containing the first four elements of
O2.member”.
§Errors
As fit_string.