pub fn vector(
buf: &[u8],
from: usize,
stride: usize,
) -> Result<Vector, Malformed>Expand description
The vector the uoffset_t at from names, whose elements are stride
bytes each.
The whole element span is checked against the buffer here, so a walk over the elements is bounded by one check rather than by one per element.