MCPcopy Create free account
hub / github.com/elastic/devfiler / from_raw

Method from_raw

src/storage/table.rs:532–534  ·  view source on GitHub ↗
(data: Self::B)

Source from the content-addressed store, hash-verified

530 type B = [u8; 8];
531
532 fn from_raw(data: Self::B) -> Self {
533 TestKey(u64::from_be_bytes(data))
534 }
535
536 fn into_raw(self) -> Self::B {
537 self.0.to_be_bytes()

Callers

nothing calls this directly

Calls 1

TestKeyClass · 0.85

Tested by

no test coverage detected