Let wuffs_aux's MemoryInput take a char* ptr

This commit is contained in:
Nigel Tao committed 2020-08-17 10:00:19 +10:00
1 parent 2742a4f4be
commit ca1113620b
4 files changed
+16 -2

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ class FileInput : public Input {
// It does not take responsibility for freeing the memory when done.
class MemoryInput : public Input {
public:
MemoryInput(const char* ptr, size_t len);
MemoryInput(const uint8_t* ptr, size_t len);
virtual IOBuffer* BringsItsOwnIOBuffer();