pub fn add_raw_section<'a>(
        self,
        cx: &mut ModuleContext<'a>,
        id: SectionId,
        range: wasmparser::Range,
        full_wasm: &'a [u8],
    ) {
        cx.defined_mut(self)
            .raw_sections
            .push(wasm_encoder::RawSection {
                id: id as u8,
                data: &full_wasm[range.start..range.end],
            })
    }
/// Add a new raw section to this module info during parsing.
Add a new raw section to this module info during parsing.
Add a new raw section to this module info during parsing .
pub fn add_raw_section<'a>(
        self,
        cx: &mut ModuleContext<'a>,
        id: SectionId,
        range: wasmparser::Range,
        full_wasm: &'a [u8],
    ) {
        cx.defined_mut(self)
            .raw_sections
            .push(wasm_encoder::RawSection {
                id: id as u8,
                data: &full_wasm[range.start..range.end],
            })
    }
pub fn add_raw_section < ' a > ( self , cx : & mut ModuleContext < ' a > , id : SectionId , range : wasmparser :: Range , full_wasm : & ' a [ u8 ] , ) { cx . defined_mut ( self ) . raw_sections . push ( wasm_encoder :: RawSection { id : id as u8 , data : & full_wasm [ range . start .. range . end ] , } ) }
Add a new raw section to this module info during parsing.
Add a new raw section to this module info during parsing .
self
cx
&mut ModuleContext<'a>
id
SectionId
range
wasmparser::Range
full_wasm
&'a [u8]
self
cx
&mut ModuleContext<'a>
id
SectionId
range
wasmparser::Range
full_wasm
&'a [u8]