Creates a new, empty POPM frame.
Gets the play counter for this frame.
Sets the play counter, clamping negative values to zero.
Gets the email address identifying the user this rating belongs to.
Sets the email address identifying the user this rating belongs to.
Gets the frame identifier from the header.
Gets the frame's header object.
Rating value 0–255.
Gets the payload size in bytes from the header.
ProtectedparseParses the binary payload of the POPM frame.
Raw field bytes beginning with the null-terminated email address.
ID3v2 version (unused; parsing is version-independent).
Render the complete frame (header + fields) for the given version.
Optionalversion: numberProtectedrenderSerialises the frame fields into a binary payload.
ID3v2 version (unused; rendering is version-independent).
A ByteVector containing the null-terminated email, rating byte, and big-endian play counter.
Returns a human-readable summary of the email and rating.
A string of the form "<email> <rating>/255".
Protected StaticfieldExtract the raw field data from a complete frame blob.
This handles unsynchronisation decoding, data-length indicators, and (stubbed) decompression.
StaticfromInternalCreate from raw frame data.
Popularimeter frame (POPM).
Structure: email(null-terminated Latin1) + rating(1 byte) + counter(variable, big-endian).