The Mp4TagMaker class helps writing MP4 tags.
More...
#include <mp4tag.h>
|
void | make (std::ostream &stream, Diagnostics &diag) |
| Saves the tag (specified when constructing the object) to the specified stream.
|
|
const Mp4Tag & | tag () const |
| Returns the associated tag.
|
|
std::uint64_t | requiredSize () const |
| Returns the number of bytes which will be written when making the tag.
|
|
The Mp4TagMaker class helps writing MP4 tags.
An instance can be obtained using the Mp4Tag::prepareMaking() method.
◆ make()
void TagParser::Mp4TagMaker::make |
( |
std::ostream & | stream, |
|
|
Diagnostics & | diag ) |
Saves the tag (specified when constructing the object) to the specified stream.
- Exceptions
-
Throws | std::ios_base::failure when an IO error occurs. |
Throws | Assumes the data is already validated and thus does NOT throw TagParser::Failure or a derived exception. |
Definition at line 504 of file mp4tag.cpp.
◆ requiredSize()
std::uint64_t TagParser::Mp4TagMaker::requiredSize |
( |
| ) |
const |
|
inline |
Returns the number of bytes which will be written when making the tag.
Definition at line 83 of file mp4tag.h.
◆ tag()
const Mp4Tag & TagParser::Mp4TagMaker::tag |
( |
| ) |
const |
|
inline |
Returns the associated tag.
Definition at line 75 of file mp4tag.h.
◆ Mp4Tag
The documentation for this class was generated from the following files: