MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / get_array_chunk

Method get_array_chunk

crates/sats/src/buffer.rs:380–384  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

378
379 #[inline]
380 fn get_array_chunk<const N: usize>(&mut self) -> Option<&'de [u8; N]> {
381 let (ret, rest) = self.split_first_chunk()?;
382 *self = rest;
383 Some(ret)
384 }
385
386 #[inline(always)]
387 fn remaining(&self) -> usize {

Callers 1

get_arrayMethod · 0.45

Calls 3

as_refMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected