#include <buffer.h>
Public Member Functions | |
Ramfile () | |
string | readline () |
Assumes the stream represents a text file, and extracts one line up to and including the trailing newline character. | |
Public Attributes | |
size_t | _pos |
string | _data |
|
|
|
Assumes the stream represents a text file, and extracts one line up to and including the trailing newline character. Returns empty string when the end of file is reached. The interface here is intentionally designed to be similar to that for Python's File.readline() function. Definition at line 78 of file buffer.cxx. |
|
|
|
|