#include "Stroika/Foundation/StroikaPreComp.h"#include <mutex>#include <vector>#include "Stroika/Foundation/Common/Common.h"#include "Stroika/Foundation/Execution/Synchronized.h"#include "Stroika/Foundation/Memory/BLOB.h"#include "Stroika/Foundation/Memory/Common.h"#include "InputStream.h"#include "ExternallyOwnedSpanInputStream.inl"Go to the source code of this file.
Namespaces | |
| namespace | Stroika::Foundation |
Functions | |
| template<typename ELEMENT_TYPE , Memory::ISpanBytesCastable< span< const ELEMENT_TYPE > > FROM_SPAN> | |
| Ptr< ELEMENT_TYPE > | Stroika::Foundation::Streams::ExternallyOwnedSpanInputStream::New (FROM_SPAN s) |
| ExternallyOwnedSpanInputStream takes a (memory contiguous) sequence of ELEMENT_TYPE objects and exposes it as a InputStream<ELEMENT_TYPE> | |
Definition in file ExternallyOwnedSpanInputStream.h.
| Ptr< ELEMENT_TYPE > Stroika::Foundation::Streams::ExternallyOwnedSpanInputStream::New | ( | FROM_SPAN | s | ) |
ExternallyOwnedSpanInputStream takes a (memory contiguous) sequence of ELEMENT_TYPE objects and exposes it as a InputStream<ELEMENT_TYPE>
ExternallyOwnedSpanInputStream is a subtype of InputStream<ELEMENT_TYPE> but the creator must guarantee, so long as the memory pointed to in the argument has a o lifetime > lifetime of the ExternallyOwnedSpanInputStream object, o and data never changes value
ExternallyOwnedSpanInputStream is Seekable.
Definition at line 134 of file ExternallyOwnedSpanInputStream.inl.