Function DeviceMemory.map

Produce a scoped memory map. The the memory will be unmapped when the object goes out of scope. The is an untyped memory holder. In order to access the memory, call view with the right type parameter.

final abstract MemoryMap map (
  in const(ulong) offset = 0LU,
  in const(ulong) sz = 18446744073709551615LU
);

Parameters

NameDescription
offset the offset to the requested memory in bytes
count the number of bytes to be mapped