Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIDataBufferStream Class Reference
Inheritance diagram for MOAIDataBufferStream:
MOAIStream MOAIStream

List of all members.

Function List

  close
  open

Function Documentation

Disassociates and unlocks the stream's MOAIDataBuffer.


function close ( MOAIDataBufferStream self )
Parameters:
self ( MOAIDataBufferStream )
Returns:
nil

Associate the stream with a MOAIDataBuffer. Note that the MOAIDataBuffer will be locked with a mutex while it is open thus blocking any asynchronous operations.


function open ( MOAIDataBufferStream self, MOAIDataBuffer buffer )
Parameters:
self ( MOAIDataBufferStream )
buffer ( MOAIDataBuffer )
Returns:
success ( boolean )