Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
MemoryMappedFileReader.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4
6
7 /*
8 ********************************************************************************
9 ******************* IO::FileSystem::MemoryMappedFileReader *********************
10 ********************************************************************************
11 */
12 inline const byte* MemoryMappedFileReader::begin () const
13 {
14 return fSpan_.data ();
15 }
16 inline const byte* MemoryMappedFileReader::end () const
17 {
18 return fSpan_.data () + fSpan_.size ();
19 }
20 inline size_t MemoryMappedFileReader::size () const
21 {
22 return fSpan_.size ();
23 }
24 inline span<const byte> MemoryMappedFileReader::AsSpan () const
25 {
26 return fSpan_;
27 }
28 inline span<const byte> MemoryMappedFileReader::operator() () const
29 {
30 return fSpan_;
31 }
32
33}