Modules/FileSystem/setDoBufferAllRaw

From Multi Theft Auto: Wiki
Revision as of 23:58, 18 January 2022 by Danilo (talk | contribs) (Created page with "__NOTOC__ 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== <syntaxhighlight lang="lua"> void fsnamespace.setDoBufferAllRaw( bool enabled ) </syntaxhighlight> ==Arguments== *'''enabled''': new v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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