Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Mmap::Region
Inherits
Mmap
/
Reference
/
Object
Constructors
new
(size, flags = nil, *, prot :
Prot
=
Prot::ReadWrite
, shared :
Bool
= false, file :
File
|
Nil
= nil, offset = 0, addr :
Pointer
(
Void
) |
Nil
= nil)
Source
Class methods
open
(*args, &)
Source
Instance methods
[]
(idx, size) :
SubRegion
size
limited to Int32 for due to
Slice
limitations
Source
close
Source
closed?
Source
resize
(size, moveable :
Bool
= false) :
Nil
Source
to_slice
Source