Function
Native
string.dump
Returns a string containing a binary representation (a *binary chunk*) of the given function.
Syntax
string.dump(func, stripDebugInfo)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
func
|
function | — | The function to get the bytecode of |
stripDebugInfo
|
boolean | — | True to strip the debug data, false to keep it |
Returns
- string