Serialize metadata to raw bytes.
Serialize metadata into an existing buffer writer.
Encode metadata to a hex string.
Validate the metadata key and value.
StaticcreateCreate a metadata entry from raw key and value bytes.
StaticfromStaticfromStaticfrom
Metadata represents a key-value pair.
Param: key
the key
Param: value
the value