added wxZlibStream::SetDictionary() (closes #10551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,6 +44,9 @@ class WXDLLIMPEXP_BASE wxZlibInputStream: public wxFilterInputStream {
|
||||
|
||||
static bool CanHandleGZip();
|
||||
|
||||
bool SetDictionary(const char *data, const size_t datalen);
|
||||
bool SetDictionary(const wxMemoryBuffer &buf);
|
||||
|
||||
protected:
|
||||
size_t OnSysRead(void *buffer, size_t size);
|
||||
wxFileOffset OnSysTell() const { return m_pos; }
|
||||
@@ -72,6 +75,9 @@ class WXDLLIMPEXP_BASE wxZlibOutputStream: public wxFilterOutputStream {
|
||||
|
||||
static bool CanHandleGZip();
|
||||
|
||||
bool SetDictionary(const char *data, const size_t datalen);
|
||||
bool SetDictionary(const wxMemoryBuffer &buf);
|
||||
|
||||
protected:
|
||||
size_t OnSysWrite(const void *buffer, size_t size);
|
||||
wxFileOffset OnSysTell() const { return m_pos; }
|
||||
|
Reference in New Issue
Block a user