Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_constant
Method · 0.80
read_field
Method · 0.80
read_method
Method · 0.80
parse_instruction
Method · 0.80
parse_attribute
Method · 0.80
read_annotation
Method · 0.80
read_type_annotation
Method · 0.80
read_element_value
Method · 0.80
Calls
1
read_u16
Method · 0.80
Tested by
no test coverage detected