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

Method BoundedFileStream

Sources/Shared/IO/BoundedFileStream.cpp:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4//###==##====#=====--==~--~=~- --- -- - - - -
5
6 BoundedFileStream::BoundedFileStream(Containers::StringView path, std::uint64_t offset, std::uint32_t size, std::int32_t bufferSize)
7 : BoundedFileStream(Containers::String{path}, offset, size, bufferSize)
8 {
9 }
10
11 BoundedFileStream::BoundedFileStream(Containers::String&& path, std::uint64_t offset, std::uint32_t size, std::int32_t bufferSize)
12 : _underlyingStream(path, FileAccess::Read, bufferSize), _offset(offset), _size(size)

Callers

nothing calls this directly

Calls 1

SeekMethod · 0.45

Tested by

no test coverage detected