SodiumPointer<T extends NativeType>.raw constructor
SodiumPointer<T extends NativeType>.raw (
- LibSodiumFFI sodium,
- Pointer<
T> ptr, - int count
Constructs the pointer from the libsodium API, the raw ptr and the
element count.
Implementation
SodiumPointer.raw(this.sodium, this.ptr, this.count)
: _viewParent = null,
_locked = true,
_memoryProtection = MemoryProtection.readWrite {
_sodiumFinalizer.attach(this, ptr.cast(), byteLength);
}