Zwischenstand

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@968 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-14 17:57:59 +00:00
parent 9329aeb192
commit 3bfc9ee115
5 changed files with 69 additions and 55 deletions
+3 -2
View File
@@ -58,9 +58,10 @@ class Buffer : public IBuffer
T* data_w();
T* data_r();
size_t write(const T* pData, size_t len);
size_t read(T* pData, size_t len);
Result readAt(size_t offset, T &x);
size_t read(T* pData, size_t len, bool do_consume=true);
T readAt(size_t offset);
Result consume(size_t len);
Result produce(size_t len);
void print(const char *prefix);