Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Storage/FileStore.h')
-rw-r--r--src/Storage/FileStore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Storage/FileStore.h b/src/Storage/FileStore.h
index 23e4e97d..e998e3e8 100644
--- a/src/Storage/FileStore.h
+++ b/src/Storage/FileStore.h
@@ -28,6 +28,7 @@ public:
uint8_t Status(); // Returns OR of IOStatus
bool Read(char& b); // Read 1 byte
int Read(char* buf, size_t nBytes); // Read a block of nBytes length
+ int ReadLine(char* buf, size_t nBytes); // As Read but stop after '\n' or '\r\n' and null-terminate
bool Write(char b); // Write 1 byte
bool Write(const char *s, size_t len); // Write a block of len bytes
bool Write(const char* s); // Write a string