node-taglib-sharp / Exports / AsfContentDescriptor
This class provides a representation of an ASF content descriptor to be used in combination with ExtendedContentDescriptionObject.
Remarks
This class can store various types of information. Although toString provides
a representation of all types of values, it is recommended to determine which of the get*
methods to use by accessing type
-
DescriptorBase
↳
AsfContentDescriptor
• new AsfContentDescriptor(name
, type
, value
)
Name | Type |
---|---|
name |
string |
type |
AsfObjectDataType |
value |
AsfDescriptorValue |
DescriptorBase.constructor
• get
boolValue(): boolean
Gets the boolean value of the current instance.
boolean
Boolean value of the current instance is returned if type is
DataType.Bool. undefined
is returned otherwise.
DescriptorBase.boolValue
• get
byteValue(): ByteVector
Gets the binary contents of the current instance.
Byte contents of the current instance, if type is
DataType.Bytes. undefined
is returned otherwise.
DescriptorBase.byteValue
• get
guidValue(): UuidWrapper
Gets the guid contents of the current instance.
GUID contents of the current instance, if type is
DataType.Guid. undefined
is returned otherwise.
DescriptorBase.guidValue
• get
name(): string
Gets the name of the current instance.
string
DescriptorBase.name
• get
stringValue(): string
Gets the string contents of the current instance.
string
String contents of the current instance if type is
DataType.Unicode. undefined
is returned otherwise.
DescriptorBase.stringValue
• get
type(): AsfObjectDataType
Gets the type of data contained in the current instance.
DescriptorBase.type
• get
uintValue(): number
Gets the 32-bit double word contents of the current instance.
number
Double word contents of the current instance, if type is
DataType.DWord. undefined
is returned otherwise.
DescriptorBase.uintValue
• get
ulongValue(): bigint
Gets the 64-bit quad word contents of the current instance.
bigint
Quad word contents of the current instance, if type is
DataType.QWord. undefined
is returned otherwise.
DescriptorBase.ulongValue
• get
ushortValue(): number
Gets the 16-bit word contents of the current instance.
number
Word contents of the current instance, if type is
DataType.Word. undefined
is returned otherwise.
DescriptorBase.ushortValue
▸ render(): ByteVector
Inherit Doc
DescriptorBase.render
▸ toString(): string
Inherit Doc
string
DescriptorBase.toString