struct Mmap::SubRegion

Included Modules

Defined in:

mmap/sub_region.cr

Instance Method Summary

Instance methods inherited from module Mmap

[](idx, size) : SubRegion [], crypto_key : Nil crypto_key, guard_page : Nil guard_page, madvise(advice) : Nil madvise, mlock : Nil mlock, mprotect(prot : Prot) : Nil mprotect, msync : Nil msync, munlock : Nil munlock, noaccess noaccess, readonly readonly, readwrite readwrite, to_slice : Bytes to_slice, to_unsafe to_unsafe

Class methods inherited from module Mmap

open(*args, &) open

Instance Method Detail

def [](idx, size) : self #

Returns a new SubRegion referencing the original Region

size limited to Int32 due to Slice limitations


[View source]
def to_unsafe #

[View source]