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

Method decode

src/serde/variant.rs:68–70  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

66
67impl<'a> Decoder<'a, u8> for VariantDecoder<'a> {
68 fn decode(&mut self) -> u8 {
69 unsafe { self.variants.mut_slice().next_unchecked() }
70 }
71}

Callers 4

deserialize_optionMethod · 0.45
deserialize_seqMethod · 0.45
deserialize_mapMethod · 0.45
variant_seedMethod · 0.45

Calls 2

next_uncheckedMethod · 0.80
mut_sliceMethod · 0.80

Tested by

no test coverage detected