aboutsummaryrefslogtreecommitdiff
path: root/src/stable/myriadstream.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2024-08-28 11:45:51 -0700
committerMike Buland <mike@xagasoft.com>2024-08-28 11:45:51 -0700
commit0886ad4f53deb8e148f87f77b9e7ff690c02b069 (patch)
treec40ccf830b944d8172566b6e3c5d4e4ca0fc7712 /src/stable/myriadstream.h
parentf1e3f25d9b7a12cdedb99e4cb0bfa66157a1a972 (diff)
downloadlibbu++-0886ad4f53deb8e148f87f77b9e7ff690c02b069.tar.gz
libbu++-0886ad4f53deb8e148f87f77b9e7ff690c02b069.tar.bz2
libbu++-0886ad4f53deb8e148f87f77b9e7ff690c02b069.tar.xz
libbu++-0886ad4f53deb8e148f87f77b9e7ff690c02b069.zip
Most of the new myriad api is in.
Still to go: bootstrapping reading the initial header, saving the header, growing streams as we write?
Diffstat (limited to '')
-rw-r--r--src/stable/myriadstream.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stable/myriadstream.h b/src/stable/myriadstream.h
index 87192a9..c01cf34 100644
--- a/src/stable/myriadstream.h
+++ b/src/stable/myriadstream.h
@@ -18,10 +18,7 @@ namespace Bu
18 public: 18 public:
19 virtual void close(); 19 virtual void close();
20 virtual size read( void *pBuf, size iBytes ); 20 virtual size read( void *pBuf, size iBytes );
21 virtual Bu::String readLine();
22 virtual Bu::String readAll();
23 virtual size write( const void *pBuf, size iBytes ); 21 virtual size write( const void *pBuf, size iBytes );
24 virtual size write( const Bu::String &sBuf );
25 virtual size tell(); 22 virtual size tell();
26 virtual void seek( size offset ); 23 virtual void seek( size offset );
27 virtual void setPos( size pos ); 24 virtual void setPos( size pos );
@@ -46,6 +43,7 @@ namespace Bu
46 Bu::Myriad &rMyriad; 43 Bu::Myriad &rMyriad;
47 Bu::Myriad::Stream *pStream; 44 Bu::Myriad::Stream *pStream;
48 Bu::Myriad::Mode eMode; 45 Bu::Myriad::Mode eMode;
46 int32_t iPos;
49 }; 47 };
50}; 48};
51 49