pub trait TagDataTraits {
// Required methods
fn into_bytes(self) -> Vec<u8> ⓘ;
fn as_slice(&self) -> &[u8] ⓘ;
fn as_mut_slice(&mut self) -> &mut [u8] ⓘ;
fn pad(&mut self, size: usize);
// Provided methods
fn len(&self) -> usize { ... }
fn is_empty(&self) -> bool { ... }
fn type_signature(&self) -> DataSignature { ... }
}Required Methods§
Sourcefn into_bytes(self) -> Vec<u8> ⓘ
fn into_bytes(self) -> Vec<u8> ⓘ
Converts the tag data into a byte vector.