Trait holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::buffer::AsExtendMut
source · pub trait AsExtendMut<'a>: 'a {
// Required method
unsafe fn unsafe_extend_mut(
&mut self,
len: usize
) -> Result<&mut [u8], OneErr>;
// Provided methods
fn extend_mut(&mut self, len: usize) -> Result<&mut [u8], OneErr> { ... }
fn extend_mut_from_slice(&mut self, oth: &[u8]) -> Result<(), OneErr> { ... }
}
Expand description
Indicates we can append bytes without pre-initializing them.