MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / GetPosition

Method GetPosition

Sources/Shared/IO/BoundedFileStream.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 std::int64_t BoundedFileStream::GetPosition() const
44 {
45 return _underlyingStream.GetPosition() - static_cast<std::int64_t>(_offset);
46 }
47
48 std::int64_t BoundedFileStream::Read(void* destination, std::int64_t bytesToRead)
49 {

Callers 2

SeekMethod · 0.45
ReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected