MCPcopy Create free account
hub / github.com/andreabergia/rjvm / read_string_reference_from

Method read_string_reference_from

reader/src/class_reader.rs:226–228  ·  view source on GitHub ↗
(constants_pool: &ConstantPool, index: u16)

Source from the content-addressed store, hash-verified

224 }
225
226 fn read_string_reference_from(constants_pool: &ConstantPool, index: u16) -> Result<String> {
227 constants_pool.text_of(index).map_err(|err| err.into())
228 }
229
230 fn read_interfaces(&mut self) -> Result<()> {
231 let interfaces_count = self.buffer.read_u16()?;

Callers

nothing calls this directly

Calls 1

text_ofMethod · 0.80

Tested by

no test coverage detected