LuaSTG-x Core API
lstg::StreamMemory Class Reference
Inheritance diagram for lstg::StreamMemory:
lstg::Stream

Public Member Functions

function create ()
 
function data ()
 
function getBuffer ()
 
function isResizable ()
 
function isWritable ()
 
function resize (local length)
 
function seek (local origin, local offset)
 
function size ()
 
function tell ()
 
- Public Member Functions inherited from lstg::Stream
function fill (local dst, local length, local buffer)
 
function isResizable ()
 
function isWritable ()
 
function lock ()
 
function resize (local size)
 
function seek (local Origin, local Offset)
 
function size ()
 
function tell ()
 
function tryLock ()
 
function unlock ()
 

Member Function Documentation

◆ create()

function create ( )

src can be NULL

Returns
lstg.StreamMemory

◆ data()

function data ( )
Returns
unsigned char

◆ getBuffer()

function getBuffer ( )
Returns
lstg.Buffer

◆ isResizable()

function isResizable ( )
Returns
boolean

◆ isWritable()

function isWritable ( )
Returns
boolean

◆ resize()

function resize ( local  length)
Parameters
lengthnumber
Returns
boolean

◆ seek()

function seek ( local  origin,
local  offset 
)
Parameters
originnumber
offsetnumber
Returns
boolean

◆ size()

function size ( )
Returns
number

◆ tell()

function tell ( )
Returns
number

The documentation for this class was generated from the following file: