Table of Contents

Class KLVMetadata

Namespace
VisioForge.Core.Types.X.Metadata
Assembly
VisioForge.Core.dll

KLV metadata. Implements the VisioForge.Core.Types.X.Metadata.IMetadata.

public class KLVMetadata : IMetadata

Inheritance

Implements

Inherited Members

Constructors

KLVMetadata(byte[])

Initializes a new instance of the VisioForge.Core.Types.X.Metadata.KLVMetadata class.

[JsonConstructor]
public KLVMetadata(byte[] data)

Parameters

data byte[]

The data.

Remarks

[JsonConstructor] because the type has two public constructors and neither is parameterless. This is the one a document binds: metadata is carried as bytes, so the file the other overload reads is not reflected in a document.

KLVMetadata(string)

Initializes a new instance of the VisioForge.Core.Types.X.Metadata.KLVMetadata class.

public KLVMetadata(string filename)

Parameters

filename string

The filename.

Properties

Data

Gets the data. Written to a pipeline document as base64 and read back through VisioForge.Core.Types.X.Metadata.KLVMetadata.#ctor(System.Byte[]).

[JsonInclude]
public byte[] Data { get; }

Property Value

byte[]

See Also