Function zerovec::varzerovec::components::write_serializable_bytes

source ·
pub fn write_serializable_bytes<T, A, F>(elements: &[A], output: &mut [u8])
Expand description

Writes the bytes for a VarZeroSlice into an output buffer.

Every byte in the buffer will be initialized after calling this function.

§Panics

Panics if the buffer is not exactly the correct length.