MCPcopy Create free account
hub / github.com/comaps/comaps / Pos

Method Pos

libs/coding/internal/file_data.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122uint64_t FileData::Pos() const
123{
124 int64_t const pos = ftell64(m_File);
125 if (pos == INVALID_POS)
126 MYTHROW(Writer::PosException, (GetErrorProlog(), pos));
127
128 ASSERT_GREATER_OR_EQUAL(pos, 0, ());
129 return static_cast<uint64_t>(pos);
130}
131
132void FileData::Seek(uint64_t pos)
133{

Callers 2

UNIT_TESTFunction · 0.45
TestWriteFunction · 0.45

Calls

no outgoing calls

Tested by 2

UNIT_TESTFunction · 0.36
TestWriteFunction · 0.36