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

Method get_n

src/bytecode/io/reader.rs:967–972  ·  view source on GitHub ↗
(&mut self, count: usize)

Source from the content-addressed store, hash-verified

965 }
966
967 pub fn get_n(&mut self, count: usize) -> Vec<u8> {
968 match self.read_n(count) {
969 Ok(bytes) => bytes,
970 Err(_) => vec![]
971 }
972 }
973
974 pub fn read_bytes(&mut self) -> Result<Vec<u8>, Error> {
975 let mut tmp: Vec<u8> = vec![];

Callers 2

parse_instructionMethod · 0.80
parse_attributeMethod · 0.80

Calls 1

read_nMethod · 0.80

Tested by

no test coverage detected