Show / Hide Table of Contents

Extensions Property

Extensions

The list of extensions. This is an optional value and can be null.

C#
public IReadOnlyDictionary<string, byte[]>? Extensions { get; }

Property Value

Type Description
IReadOnlyDictionary<string, byte[]>

Remarks

Each extension is a key/value pair. All keys are strings, but each extension has its own definition of a value. It could be an int, or it could be a map containing a string and a boolean,. It is the caller's responsibility to decode the value.

For each value, the standard (or the vendor in the case of vendor-defined extensions) will define the structure of the value. From that structure the value can be decoded following CBOR rules. The encoded value is what is stored in this dictionary.

In this article
Back to top Generated by DocFX