Modules/FileSystem/setDoBufferAllRaw

From Multi Theft Auto: Wiki
Revision as of 04:02, 23 January 2022 by Danilo (talk | contribs)
(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