ZenithSecureBytes constructor

ZenithSecureBytes(
  1. Uint8List rawBytes
)

Creates a ZenithSecureBytes wrapping rawBytes.

The rawBytes list is used directly (not copied) so that zeroize overwrites the original allocation.

Implementation

ZenithSecureBytes(Uint8List rawBytes) : _buffer = rawBytes;