Load a precompiled binary chunk into the Lua environment

# LuaSandbox::loadBinary

(PECL luasandbox >= 1.0.0)

LuaSandbox::loadBinary — Load a precompiled binary chunk into the Lua environment

### Beschreibung

public function LuaSandbox::loadBinary(string `$code`, string `$chunkName` = ''): LuaSandboxFunction

Loads data generated by LuaSandboxFunction::dump().

### Parameter-Liste

`code`
  Data from LuaSandboxFunction::dump().
`chunkName`
  Name for the loaded function.

### Rückgabewerte

Returns a LuaSandboxFunction.

### Siehe auch

- LuaSandbox::loadString() - Load Lua code into the Lua environment

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open