Function nix_compat::wire::bytes::read_bytes_buf
source ยท pub(crate) async fn read_bytes_buf<'a, const N: usize, R>(
reader: &mut R,
buf: &'a mut [MaybeUninit<u8>; N],
allowed_size: RangeInclusive<usize>,
) -> Result<&'a [u8]>