Skip to main content

luaur_bytecode/methods/
bytecode_builder_get_function_data.rs

1use crate::records::bytecode_builder::BytecodeBuilder;
2use alloc::string::String;
3
4impl BytecodeBuilder {
5    pub fn get_function_data(&self, id: u32) -> String {
6        self.functions[id as usize].data.clone()
7    }
8}