Platforms to show: All Mac Windows Linux Cross-Platform
Filemapping and Shared Memory
Classes for mapping large files in memory or using shared memory with other processes.
- class FileMappingMBS
- method CloseFile
- method CloseFileMapping
- method Constructor
- method Constructor(file as folderitem, write as boolean = false)
- method CreateSharedMemory(name as string, Size as Int64) as boolean
- shared method DeleteSharedMemory(name as string) as boolean
- method EnlargeFile(Size as Int64)
- shared method GetSharedMemoryValue(name as string) as MemoryBlock
- shared method HasSharedMemoryValue(name as string) as Boolean
- method MapView(mem as MemoryBlock, offset as Int64, Size as Int32) as FileMappingViewMBS
- method MapView(offset as Int64, Size as Int32) as FileMappingViewMBS
- method OpenFileMapping(MaxSize as Int64 = 0) as boolean
- method OpenSharedMemory(name as string) as boolean
- shared method SetSharedMemoryValue(name as string, data as MemoryBlock) as Boolean
- method ShrinkFile
- property DeleteFileOnClose as Boolean
- property DeleteSharedMemory as Boolean
- property File as FolderItem
- property isWriteable as Boolean
- property Lasterror as Integer
- property LasterrorString as String
- property Name as String
- property SharedMemorySize as Int64
- property ShrinkFileOnClose as Boolean
- class FileMappingViewMBS
- method FlushView
- method UnmapView
- property FlushOnClose as Boolean
- property Memory as Memoryblock
- property Offset as Int64
- property Parent as FileMappingMBS
- property Size as Integer
The items on this page are in the following plugins: MBS Util Plugin.
Links
MBS Xojo tutorial videos