BmffHashDataReplacement class final

Bytes that must match at an offset before BMFF hash replacement.

Used by exclusion rules to inject deterministic bytes into the digest stream when a mutable BMFF field is excluded.

Constructors

BmffHashDataReplacement({required int offset, required List<int> value})
Creates a replacement at byte offset within the matched box.
BmffHashDataReplacement.fromCbor(Object? value)
Decodes a BMFF data replacement from a CBOR map.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
offset → int
Byte offset within the matched BMFF box.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Uint8List
Non-empty byte sequence expected or injected at offset.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCborMap() → Map<String, Object?>
Encodes this replacement using BMFF hash assertion CBOR keys. Encodes this exclusion using BMFF hash assertion CBOR keys. Encodes this Merkle map using BMFF hash assertion CBOR keys. Encodes this proof using BMFF merkle UUID box CBOR keys.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override