Creates a new, empty CommentsFrame.
Text encoding to use for description and comment text.
Defaults to StringType.UTF8 so all Unicode characters (including CJK)
are stored correctly. Note: this differs from the previous Latin-1 default,
meaning newly created frames will have a different encoding byte (0x03 vs 0x00)
compared to older taglib-ts output. Frames read from existing files preserve
whatever encoding was stored on disk.
Gets the short content description.
Sets the short content description.
Gets the text encoding used for description and comment text fields.
Sets the text encoding used for description and comment text fields.
Gets the frame identifier from the header.
Gets the frame's header object.
Gets the three-byte ISO-639-2 language code.
Sets the language code. The value is truncated or padded with spaces to exactly 3 bytes.
Gets the payload size in bytes from the header.
Gets the comment text.
Sets the comment text.
ProtectedparseParses the raw COMM frame field data, populating all comment properties.
Decoded frame field bytes.
ID3v2 version number (unused for COMM parsing).
Render the complete frame (header + fields) for the given version.
Optionalversion: numberProtectedrenderRenders the COMM frame field data to bytes.
ID3v2 version number (unused for COMM rendering).
A ByteVector containing the encoded COMM field data.
Returns the comment text.
The comment text string.
Protected StaticfieldExtract the raw field data from a complete frame blob.
This handles unsynchronisation decoding, data-length indicators, and (stubbed) decompression.
StaticfindSearches for a CommentsFrame with the given description in an ID3v2 tag.
An object exposing a frames array of Id3v2Frame instances.
The content description to match against.
The first matching CommentsFrame, or null if none is found.
StaticfromInternalCreate from raw frame data.
Comments frame (COMM).
Structure: encoding(1) + language(3) + description(null-terminated) + text.