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
offsetwithin the matched box. - BmffHashDataReplacement.fromCbor(Object? value)
-
Decodes a BMFF data replacement from a CBOR map.
factory
Properties
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
merkleUUID box CBOR keys. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override