43 ReadValue<uint8_t>(InFile, this->Type);
55 ReadValue<uint16_t>(InFile, Total);
58 for (uint16_t i=0; i<Total; ++i)
61 ReadValue<uint8_t>(InFile, Att.
Type);
85 std::streampos PosStart = OutFile.tellp();
89 WriteValue<uint32_t>(OutFile, Total);
93 WriteValue<uint16_t>(OutFile, Total);
95 for (uint16_t i=0; i<Total; ++i)
99 std::streampos PosEnd = OutFile.tellp();
100 Total = PosEnd - PosStart -
sizeof(uint32_t);
101 OutFile.seekp(PosStart, std::ios::beg);
102 WriteValue<uint32_t>(OutFile, Total);
103 OutFile.seekp(PosEnd, std::ios::beg);