3 #include "../exceptions.h"
5 #include <c++utilities/io/binaryreader.h>
21 void AdtsFrame::parseHeader(CppUtilities::BinaryReader &reader)
23 m_header1 = reader.readUInt16BE();
25 if ((m_header1 & 0xFFF6u) != 0xFFF0u) {
28 m_header2 = hasCrc() ? reader.readUInt56BE() : (reader.readUInt40BE() << 16);
30 if (totalSize() < headerSize()) {
The exception that is thrown when the data to be parsed or to be made seems invalid and therefore can...
Contains all classes and functions of the TagInfo library.