Tao.Lua SDK Documentation

Lua.luaL_loadbuffer Method 

Loads a buffer as a Lua chunk. This function uses lua_load to load the chunk in the buffer pointed to by buff with size sz.

[Visual Basic]
Public Shared Function luaL_loadbuffer( _
   ByVal L As IntPtr, _
   ByVal buff As String, _
   ByVal sz As UInt32, _
   ByVal name As String _
) As Integer
[C#]
public static int luaL_loadbuffer(
   IntPtr L,
   string buff,
   uint sz,
   string name
);

Parameters

L
buff
sz
name

Return Value

Remarks

This function returns the same results as lua_load. name is the chunk name, used for debug information and error messages.

See Also

Lua Class | Tao.Lua Namespace