MemoryGuard class

Memory corruption detection

Constructors

MemoryGuard.new(Pointer<NativeType> pointer, int size, {String debugName = 'Unnamed'})
Constructs a MemoryGuard for the given pointer and size.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

check() → void
Checks for memory corruption and throws an error if detected.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited