required
The
function to have its bytecode dumped from.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Dumps a function into the Luau bytecode format, target can not be a C function.
function dumpbytecode(target: function): string
function to have its bytecode dumped from.local function exampleFunc()
print("Hello, world!")
end
local bytecode = dumpbytecode(exampleFunc)
print(bytecode) --[[
exampleFuncprint
Hello, world!
]]
print(decompile(bytecode)) --[[
print("Hello, world!");
]]