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

Method decode

src/derive/variant.rs:65–67  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

63 // Guaranteed to output numbers less than N.
64 #[inline(always)]
65 fn decode(&mut self) -> u8 {
66 unsafe { self.variants.mut_slice().next_unchecked() }
67 }
68}
69
70#[cfg(test)]

Callers

nothing calls this directly

Calls 2

next_uncheckedMethod · 0.80
mut_sliceMethod · 0.80

Tested by

no test coverage detected