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

Method get_u16

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

Source from the content-addressed store, hash-verified

933 }
934
935 pub fn get_u16(&mut self) -> u16 {
936 self.read_u16().unwrap_or(0)
937 }
938
939 pub fn read_u8(&mut self) -> Result<u8, Error> {
940 let mut buf: [u8; 1] = [0; 1];

Callers 8

read_constantMethod · 0.80
read_fieldMethod · 0.80
read_methodMethod · 0.80
parse_instructionMethod · 0.80
parse_attributeMethod · 0.80
read_annotationMethod · 0.80
read_type_annotationMethod · 0.80
read_element_valueMethod · 0.80

Calls 1

read_u16Method · 0.80

Tested by

no test coverage detected