IQCPayloadRef class

A retrievable file belonging to this capture.

The record NEVER carries sample bytes. It carries where they are, how big they are, and what they hash to, so a consumer can decide for itself whether to fetch 400 kB or 127 GB.

Constructors

IQCPayloadRef(List<int> bytes)
factory

Properties

BYTE_LENGTH → int
Byte length. 0 means the source did not publish a size — it never means an empty file.
no setter
BYTE_SHA256 → String?
SHA-256 of the exact bytes, lowercase hex. Populated only when computed or published; never guessed.
no setter
BYTE_SHA512 → String?
SHA-512 of the exact bytes, lowercase hex. SigMF core:sha512 is a SHA-512 over the dataset file, so it is carried in its own field rather than converted or discarded.
no setter
byteLength → int
no setter
byteSha256 → String?
no setter
byteSha512 → String?
no setter
CID → String?
IPFS CIDv1 when, and only when, this SDN pinned the bytes.
no setter
CUSTODY → iqcCustody
Custody of these bytes.
no setter
FILE_NAME → String?
File name as the source publishes it.
no setter
fileName → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
MEDIA_TYPE → String?
IANA media type when the source declares one.
no setter
mediaType → String?
no setter
MULTIFORMAT_ADDRESS → String?
Multiformat address, usually /ipfs/{CID}.
no setter
multiformatAddress → String?
no setter
RETRIEVED_AT → String?
ISO 8601 UTC time at which URL was last confirmed retrievable.
no setter
retrievedAt → String?
no setter
ROLE → iqcPayloadRole
What this file is.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
URL → String?
Upstream retrieval URL, verbatim.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

reader → const Reader<IQCPayloadRef>