[−][src]Trait parity_scale_codec::EncodeAppend
Trait that allows to append items to an encoded representation without decoding all previous added items.
Associated Types
Loading content...Required methods
fn append(
self_encoded: Vec<u8>,
to_append: &[Self::Item]
) -> Result<Vec<u8>, Error>
self_encoded: Vec<u8>,
to_append: &[Self::Item]
) -> Result<Vec<u8>, Error>
Append to_append
items to the given self_encoded
representation.
Implementations on Foreign Types
impl<T: Encode + Decode> EncodeAppend for Vec<T>
[src]
type Item = T
fn append(
self_encoded: Vec<u8>,
to_append: &[Self::Item]
) -> Result<Vec<u8>, Error>
[src]
self_encoded: Vec<u8>,
to_append: &[Self::Item]
) -> Result<Vec<u8>, Error>