Modules/FileSystem/setDoBufferAllRaw: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
<pageclass class="#e36242" subcaption="Namespace function"></pageclass>
__NOTOC__
__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.
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.

Latest revision as of 04:02, 23 January 2022

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