MCPcopy Create free account
hub / github.com/Siv3D/OpenSiv3D / setPos

Method setPos

Siv3D/src/Siv3D/MemoryReader/SivMemoryReader.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 bool MemoryReader::setPos(const int64 pos)
46 {
47 if (not InRange<int64>(pos, 0, m_blob.size()))
48 {
49 return false;
50 }
51
52 m_pos = pos;
53
54 return true;
55 }
56
57 int64 MemoryReader::skip(const int64 offset)
58 {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected