39 std::streampos PosStart = OutFile.tellp();
43 WriteValue<uint32_t>(OutFile, Total);
47 WriteValue<uint16_t>(OutFile, Total);
49 for (uint16_t i=0; i<Total; ++i)
55 std::streampos PosEnd = OutFile.tellp();
56 Total = PosEnd - PosStart -
sizeof(uint32_t);
57 OutFile.seekp(PosStart, std::ios::beg);
58 WriteValue<uint32_t>(OutFile, Total);
59 OutFile.seekp(PosEnd, std::ios::beg);