pub fn read_child_storage(storage_key: &[u8], key: &[u8], value_out: &mut [u8], value_offset: usize) -> Option<usize> {
	unsafe {
		match ext_get_child_storage_into.get()(
			storage_key.as_ptr(), storage_key.len() as u32,
			key.as_ptr(), key.len() as u32,
			value_out.as_mut_ptr(), value_out.len() as u32,
			value_offset as u32
		) {
			none if none == u32::max_value() => None,
			length => Some(length as usize),
		}
	}
}
/// Get `key` from child storage, placing the value into `value_out` (as much as possible) and return
/// the number of bytes that the key in storage was beyond the offset.
Get `key` from child storage, placing the value into `value_out` (as much as possible) and return
the number of bytes that the key in storage was beyond the offset.
Get ` key ` from child storage placing the value into ` value_out ` ( as much as possible ) and return the number of bytes that the key in storage was beyond the offset .
pub fn read_child_storage(storage_key: &[u8], key: &[u8], value_out: &mut [u8], value_offset: usize) -> Option<usize> {
	unsafe {
		match ext_get_child_storage_into.get()(
			storage_key.as_ptr(), storage_key.len() as u32,
			key.as_ptr(), key.len() as u32,
			value_out.as_mut_ptr(), value_out.len() as u32,
			value_offset as u32
		) {
			none if none == u32::max_value() => None,
			length => Some(length as usize),
		}
	}
}
pub fn read_child_storage ( storage_key : & [ u8 ] , key : & [ u8 ] , value_out : & mut [ u8 ] , value_offset : usize ) -> Option < usize > { unsafe { match ext_get_child_storage_into . get ( ) ( storage_key . as_ptr ( ) , storage_key . len ( ) as u32 , key . as_ptr ( ) , key . len ( ) as u32 , value_out . as_mut_ptr ( ) , value_out . len ( ) as u32 , value_offset as u32 ) { none if none == u32 :: max_value ( ) => None , length => Some ( length as usize ) , } } }
Get `key` from child storage, placing the value into `value_out` (as much as possible) and return
the number of bytes that the key in storage was beyond the offset.
Get ` key ` from child storage placing the value into ` value_out ` ( as much as possible ) and return the number of bytes that the key in storage was beyond the offset .
storage_key
&[u8]
key
&[u8]
value_out
&mut [u8]
value_offset
usize
storage_key
&[u8]
key
&[u8]
value_out
&mut [u8]
value_offset
usize