[][src]Function elrond_codec::dep_encode_slice_contents

pub fn dep_encode_slice_contents<T: NestedEncode, O: NestedEncodeOutput>(
    slice: &[T],
    dest: &mut O
) -> Result<(), EncodeError>

Adds the concantenated encoded contents of a slice to an output buffer, without serializing the slice length. Byte slice is treated separately, via direct transmute.