summaryrefslogtreecommitdiff
path: root/textblob.h
diff options
context:
space:
mode:
Diffstat (limited to 'textblob.h')
-rw-r--r--textblob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/textblob.h b/textblob.h
index 3246c8d..b1a4dc4 100644
--- a/textblob.h
+++ b/textblob.h
@@ -32,8 +32,9 @@ public:
void clear();
- void read(istream &is);
- void write(ostream &os) const;
+ //Return how many characters were read/written.
+ i64 read(istream &is);
+ i64 write(ostream &os) const;
void setText(const string &text);
string fullText() const;