3 #include "../exceptions.h" 5 #include <c++utilities/io/binaryreader.h> 22 void AdtsFrame::parseHeader(IoUtilities::BinaryReader &reader)
24 m_header1 = reader.readUInt16BE();
26 if ((m_header1 & 0xFFF6u) != 0xFFF0u) {
29 m_header2 = hasCrc() ? reader.readUInt56BE() : (reader.readUInt40BE() << 16);
31 if (totalSize() < headerSize()) {
Contains utility classes helping to read and write streams.
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.