Skip to main content

Module metadata

Module metadata 

Source

Constants§

RESERVED_KEY
Key reserved for library-managed metadata (ndim/shape/strides/dtype/provenance).

Functions§

cbor_to_global_metadata
Deserialize global metadata from CBOR bytes.
cbor_to_hash_frame
Deserialize a hash frame from CBOR bytes.
cbor_to_index
Deserialize an index frame from CBOR bytes.
cbor_to_object_descriptor
Deserialize a data object descriptor from CBOR bytes.
compute_common
Extract keys common to ALL base entries.
global_metadata_to_cbor
Serialize global metadata to deterministic CBOR bytes (RFC 8949 Section 4.2).
hash_frame_to_cbor
Serialize a hash frame to deterministic CBOR bytes.
index_to_cbor
Serialize an index frame to deterministic CBOR bytes.
object_descriptor_to_cbor
Serialize a data object descriptor to deterministic CBOR bytes.
verify_canonical_cbor
Verify that CBOR bytes are in RFC 8949 §4.2.1 canonical form.