Create an empty Unicode attribute.
Size in bytes of the encoded value, excluding the attribute header (name, type, and length fields).
Language list index for Metadata Library objects; 0 for all others.
Language list index.
Stream number for Metadata / Metadata Library objects; 0 for Extended Content Description.
Stream number.
The discriminated type of the value held by this attribute.
Parse an attribute from an ASF file.
0 = extended content descriptor, 1 = metadata, 2 = metadata library
the attribute name
Serialize this attribute to bytes for inclusion in an ASF file.
The attribute name to write.
Object kind: 0 = Extended Content Descriptor,
1 = Metadata, 2 = Metadata Library.
The serialized bytes.
Returns 1 if the boolean value is true, otherwise 0.
Returns the binary data value. For embedded pictures the rendered picture bytes are returned.
Returns the embedded picture value (may be invalid).
Returns the Unicode string value, or "" for non-string attributes.
Returns the numeric value truncated to an unsigned 32-bit integer.
Returns the full unsigned 64-bit integer value as a BigInt.
Returns the numeric value truncated to an unsigned 16-bit integer.
StaticfromStaticfromCreate a binary byte-array attribute.
The binary data to store.
StaticfromCreate a BytesType attribute whose payload is the rendered form of value.
The picture to embed.
StaticfromStaticfromCreate a DWord (unsigned 32-bit) attribute.
Value in the range [0, 2³²−1].
StaticfromCreate a QWord (unsigned 64-bit) attribute.
The BigInt value to store.
StaticfromCreate a Word (unsigned 16-bit) attribute.
Value in the range [0, 65535].
Represents a single attribute value in an ASF tag.
An attribute can be one of several typed values (AsfAttributeType) and may be associated with a particular stream or language index when stored in the Metadata or Metadata Library objects.