Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
close | |
open |
Close the memory stream and release its buffers.
function close ( MOAIMemStream self )
self | ( MOAIMemStream ) |
Create a memory stream and optionally reserve some memory and set the chunk size by which the stream will grow if additional memory is needed.
function open ( MOAIMemStream self [, number reserve, number chunkSize ] )
self | ( MOAIMemStream ) |
reserve | ( number ) Optional. Default value is 0. |
chunkSize | ( number ) Optional. Default value is MOAIMemStream.DEFAULT_CHUNK_SIZE (2048 bytes). |