Regina 7.3 Calculation Engine
|
An input stream that reads an array of characters in memory. More...
#include <utilities/memstream.h>
Public Member Functions | |
mem_istream (const char *begin, const char *end) | |
Initialies an input stream that reads from the given array of characters. More... | |
~mem_istream () override | |
Destructor. More... | |
mem_istream (const mem_istream &)=delete | |
mem_istream & | operator= (const mem_istream &)=delete |
An input stream that reads an array of characters in memory.
This input stream does not take any responsibility for managing the memory that is read, and the caller should ensure that this memory remains allocated for at least as long as this input stream.
End users should not use this class, but should use mem_istream instead. The API for this class is subject to change in future versions of Regina.
|
inline |
Initialies an input stream that reads from the given array of characters.
begin | a pointer to the beginning of the array to read. |
end | a pointer past-the-end of the array to read. |
|
inlineoverride |
Destructor.
Note that this does not deallocate the array of characters being read.