By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
Takes an input u64 for the storage size, returns an [[#IStorage]].
Takes an input u64 for the storage size, returns an [[#IStorage]].
+
+
This allocates a buffer with the specified size which can then be accessed via [[#IStorageAccessor]].
=== CreateTransferMemoryStorage ===
=== CreateTransferMemoryStorage ===
Line 666:
Line 668:
The user-process creates the TransferMemory with permissions=0.
The user-process creates the TransferMemory with permissions=0.
+
+
The TransferMemory is mapped, which can then be accessed via [[#IStorageAccessor]]. The input bool controls whether writing to the storage is allowed: [[#Write]] will throw an error if this flag is not set.