MCPcopy Create free account
hub / github.com/cretz/stackparam / get_u8

Method get_u8

src/bytecode/io/reader.rs:951–953  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

949 }
950
951 pub fn get_u8(&mut self) -> u8 {
952 self.read_u8().unwrap_or(0)
953 }
954
955 pub fn read_n(&mut self, count: usize) -> Result<Vec<u8>, Error> {
956 let mut tmp: Vec<u8> = Vec::with_capacity(count);

Callers 5

read_constantMethod · 0.80
parse_instructionMethod · 0.80
parse_attributeMethod · 0.80
read_type_annotationMethod · 0.80
read_element_valueMethod · 0.80

Calls 1

read_u8Method · 0.80

Tested by

no test coverage detected