Struct cranelift_wasm::wasmparser::IndirectNamingReader
source · pub struct IndirectNamingReader<'a> { /* private fields */ }
Expand description
Represents a reader for indirect names from the names custom section.
Implementations§
source§impl<'a> IndirectNamingReader<'a>
impl<'a> IndirectNamingReader<'a>
sourcepub fn get_indirect_count(&self) -> u32
pub fn get_indirect_count(&self) -> u32
Gets the count of indirect names.
sourcepub fn original_position(&self) -> usize
pub fn original_position(&self) -> usize
Gets the original position of the reader.
sourcepub fn read<'b>(&mut self) -> Result<IndirectNaming<'b>, BinaryReaderError>where
'a: 'b,
pub fn read<'b>(&mut self) -> Result<IndirectNaming<'b>, BinaryReaderError>where
'a: 'b,
Reads an indirect name from the reader.