Tag Parser  9.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
ivfframe.cpp
Go to the documentation of this file.
1 #include "./ivfframe.h"
2 
3 #include "../exceptions.h"
4 
5 #include <c++utilities/io/binaryreader.h>
6 
7 using namespace std;
8 using namespace CppUtilities;
9 
10 namespace TagParser {
11 
21 void IvfFrame::parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
22 {
23  CPP_UTILITIES_UNUSED(diag)
24  startOffset = static_cast<std::uint64_t>(reader.stream()->tellg());
25  size = reader.readUInt32BE();
26  timestamp = reader.readUInt64BE();
27 }
28 
29 } // namespace TagParser
ivfframe.h
TagParser::Diagnostics
The Diagnostics class is a container for DiagMessage.
Definition: diagnostics.h:156
TagParser
Contains all classes and functions of the TagInfo library.
Definition: aaccodebook.h:10
CppUtilities
Definition: abstractcontainer.h:15