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

Method from_raw

src/storage/dbtypes.rs:78–80  ·  view source on GitHub ↗
(data: Self::B)

Source from the content-addressed store, hash-verified

76 type B = [u8; 16];
77
78 fn from_raw(data: Self::B) -> Self {
79 Self::from(u128::from_le_bytes(data))
80 }
81
82 fn into_raw(self) -> Self::B {
83 u128::from(self).to_le_bytes()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected