Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
close | |
open |
Close and release the associated file handle.
function close ( MOAIFileStream self )
self | ( MOAIFileStream ) |
Open or create a file stream given a valid path.
function open ( MOAIFileStream self, string fileName [, number mode ] )
self | ( MOAIFileStream ) |
fileName | ( string ) |
mode | ( number ) Optional. One of MOAIFileStream.APPEND, MOAIFileStream.READ, MOAIFileStream.READ_WRITE, MOAIFileStream.READ_WRITE_AFFIRM, MOAIFileStream.READ_WRITE_NEW, MOAIFileStream.WRITE. Default value is MOAIFileStream.READ. |