luaur-bytecode 0.1.0

Luau bytecode format and builder (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::records::bytecode_builder::BytecodeBuilder;
use alloc::string::String;

impl BytecodeBuilder {
    pub fn get_function_data(&self, id: u32) -> String {
        self.functions[id as usize].data.clone()
    }
}