ByteView class final
A read-only, zero-copy byte range backed by a record segment.
A view is valid only while its associated record remains allocated. It is intentionally not a Uint8List, so callers cannot bypass write tracking by mutating store memory through a reader.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUint8List(
) → Uint8List - Copies this view to an independently owned byte list.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → int -
Returns the byte at
index.