diff options
author | David <david@xagasoft.com> | 2006-05-13 00:19:58 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2006-05-13 00:19:58 +0000 |
commit | 632e1d1dbe6ac35eba93523dd144129af1122ca2 (patch) | |
tree | 22f5ea2a8577c4e0a8d8e3febae9b05a8e744e37 /src/serializer.h | |
parent | de1aa6d66e11232edf2d7bbc729425003f6c3db5 (diff) | |
download | libbu++-632e1d1dbe6ac35eba93523dd144129af1122ca2.tar.gz libbu++-632e1d1dbe6ac35eba93523dd144129af1122ca2.tar.bz2 libbu++-632e1d1dbe6ac35eba93523dd144129af1122ca2.tar.xz libbu++-632e1d1dbe6ac35eba93523dd144129af1122ca2.zip |
david - umm... yeah, made the generic write and read functions...
Diffstat (limited to 'src/serializer.h')
-rw-r--r-- | src/serializer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serializer.h b/src/serializer.h index 03e6820..f2648e3 100644 --- a/src/serializer.h +++ b/src/serializer.h | |||
@@ -15,6 +15,9 @@ public: | |||
15 | virtual ~Serializer(); | 15 | virtual ~Serializer(); |
16 | virtual void close()=0; | 16 | virtual void close()=0; |
17 | 17 | ||
18 | virtual void write(void *, int32_t)=0; | ||
19 | virtual void read(void *, int32_t)=0; | ||
20 | |||
18 | virtual Serializer &operator<<(bool)=0; | 21 | virtual Serializer &operator<<(bool)=0; |
19 | virtual Serializer &operator<<(int8_t)=0; | 22 | virtual Serializer &operator<<(int8_t)=0; |
20 | virtual Serializer &operator<<(int16_t)=0; | 23 | virtual Serializer &operator<<(int16_t)=0; |