MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / decode

Method decode

src/int.rs:68–71  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

66
67 #[inline(always)]
68 fn decode(&mut self) -> P {
69 let v = unsafe { self.0.mut_slice().next_unchecked() };
70 bytemuck::must_cast(v)
71 }
72}
73
74/// For NonZeroU32, char, etc.

Callers 1

populateMethod · 0.45

Calls 2

next_uncheckedMethod · 0.80
mut_sliceMethod · 0.80

Tested by

no test coverage detected