MTA:Eir/FileSystem/setDoBufferAllRaw

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function changes the raw-file buffering policy of newly created file streams. If the buffering-policy is enabled then each newly created file stream is wrapped inside of a custom FileSystem buffering handle. File stream modifications that are close to each other are batched together for optimizational purposes.

Syntax

void fsnamespace.setDoBufferAllRaw( bool enabled )

Arguments

  • enabled: new value for the buffering-policy

Returns

This function does return nil.

Example

-- TODO

FileSystem Namespace Functions