mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
std: add compact_retaining, history_retain_length
This commit is contained in:
1 parent
0f91f23bb6
commit
5fb82e7d0a
33 files changed
+1088
-226
No files matched your search
@@ -98,7 +98,7 @@ class Input {
|
||||
virtual ~Input();
|
||||
|
||||
virtual IOBuffer* BringsItsOwnIOBuffer();
|
||||
virtual std::string CopyIn(IOBuffer* dst) = 0;
|
||||
virtual std::string CopyIn(IOBuffer* dst, uint64_t history_retain_length) = 0;
|
||||
};
|
||||
|
||||
// --------
|
||||
@@ -110,7 +110,7 @@ class FileInput : public Input {
|
||||
public:
|
||||
FileInput(FILE* f);
|
||||
|
||||
virtual std::string CopyIn(IOBuffer* dst);
|
||||
virtual std::string CopyIn(IOBuffer* dst, uint64_t history_retain_length);
|
||||
|
||||
private:
|
||||
FILE* m_f;
|
||||
@@ -131,7 +131,7 @@ class MemoryInput : public Input {
|
||||
MemoryInput(const uint8_t* ptr, size_t len);
|
||||
|
||||
virtual IOBuffer* BringsItsOwnIOBuffer();
|
||||
virtual std::string CopyIn(IOBuffer* dst);
|
||||
virtual std::string CopyIn(IOBuffer* dst, uint64_t history_retain_length);
|
||||
|
||||
private:
|
||||
IOBuffer m_io;
|
||||
|
||||
Reference in new issue
Block a user