pub type ArrayBytesRaw<'a> = Cow<'a, [u8]>;Expand description
Raw array element bytes.
These can represent:
- [
ArrayBytes::Fixed]: fixed length elements of an array in C-contiguous order, - [
ArrayBytes::Variable]: variable length elements of an array in C-contiguous order with padding permitted, - Encoded array bytes after an array to bytes or bytes to bytes codecs.
Aliased Type§
pub enum ArrayBytesRaw<'a> {
Borrowed(&'a [u8]),
Owned(Vec<u8>),
}