menu
MemoryLockBinding
import { MemoryLockBinding } from "destack:memory/binding";
Lock binding family.
1export interface MemoryLockBinding {2 lockMemory(range: VirtualMemoryRange): Result<void, HostError>;3 unlockMemory(range: VirtualMemoryRange): Result<void, HostError>;4}Members
lockMemory(range: VirtualMemoryRange): Result<void, HostError>Lock one memory range into physical memory.
unlockMemory(range: VirtualMemoryRange): Result<void, HostError>Unlock one memory range.