MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / read_byte

Function read_byte

src/repr/src/row.rs:1274–1278  ·  view source on GitHub ↗
(data: &mut &[u8])

Source from the content-addressed store, hash-verified

1272}
1273
1274fn read_byte(data: &mut &[u8]) -> u8 {
1275 let byte = data[0];
1276 *data = &data[1..];
1277 byte
1278}
1279
1280/// Read `length` bytes from `data` at `offset`, updating the
1281/// latter. Extend the resulting buffer to an array of `N` bytes by

Callers 3

read_lengthed_datumFunction · 0.85
read_datumFunction · 0.85
nextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected