Tag Parser
7.0.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
#include <id3v2frame.h>
Public Member Functions | |
void | make (IoUtilities::BinaryWriter &writer) |
Saves the frame (specified when constructing the object) using the specified writer. More... | |
const Id3v2Frame & | field () const |
Returns the associated frame. More... | |
const std::unique_ptr< char[]> & | data () const |
Returns the frame data. More... | |
uint32 | dataSize () const |
Returns the size of the array returned by data(). More... | |
uint32 | requiredSize () const |
Returns number of bytes which will be written when making the frame. More... | |
Friends | |
class | Id3v2Frame |
Definition at line 22 of file id3v2frame.h.
|
inline |
Returns the frame data.
Definition at line 54 of file id3v2frame.h.
|
inline |
Returns the size of the array returned by data().
Definition at line 62 of file id3v2frame.h.
|
inline |
Returns the associated frame.
Definition at line 46 of file id3v2frame.h.
void TagParser::Id3v2FrameMaker::make | ( | IoUtilities::BinaryWriter & | writer | ) |
Saves the frame (specified when constructing the object) using the specified writer.
Throws | std::ios_base::failure when an IO error occurs. |
Throws | Assumes the data is already validated and thus does NOT throw Media::Failure or a derived exception. |
Definition at line 503 of file id3v2frame.cpp.
|
inline |
Returns number of bytes which will be written when making the frame.
Definition at line 70 of file id3v2frame.h.
|
friend |
Definition at line 23 of file id3v2frame.h.