MCPcopy Index your code
hub / github.com/cretz/stackparam / write_access_flags

Method write_access_flags

src/bytecode/io/writer.rs:65–67  ·  view source on GitHub ↗
(&mut self, flags: &AccessFlags)

Source from the content-addressed store, hash-verified

63 }
64
65 fn write_access_flags(&mut self, flags: &AccessFlags) -> Result<usize, Error> {
66 self.write_u16(flags.flags)
67 }
68
69 fn write_constant_pool_index(&mut self, class_index: &ConstantPoolIndex) -> Result<usize, Error> {
70 self.write_u16(class_index.idx as u16)

Callers 3

write_classMethod · 0.80
write_fieldMethod · 0.80
write_methodMethod · 0.80

Calls 1

write_u16Method · 0.80

Tested by

no test coverage detected