SparseByteSegment class final
A concrete byte override inside a synthetic sparse asset.
Constructors
-
SparseByteSegment({required int offset, required List<
int> bytes}) -
Creates a segment beginning at
offsetwith copiedbytes.
Properties
- bytes → Uint8List
-
A defensive copy of this segment's concrete bytes.
no setter
- end → int
-
The exclusive byte coordinate immediately after this segment.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The number of bytes in this segment.
no setter
- offset → int
-
Zero-based byte coordinate where this segment starts.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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