Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::JarBuffer Class Reference

#include <streams-jar.h>

Inheritance diagram for Inkscape::JarBuffer:

Inkscape::ZlibBuffer

List of all members.


Detailed Description

JarBuffer

Definition at line 20 of file streams-jar.h.


Public Member Functions

 JarBuffer (URIHandle &urih)

Protected Member Functions

virtual int allocate_buffers ()
virtual void check_signature (guint8 *data) throw (JarHeaderException)
virtual int consume (guint8 *buf, int nbytes)
virtual int consume_and_inflate ()
virtual int consume_compressed (int nbytes)
virtual void consume_header () throw (JarHeaderException)
virtual int consume_uncompressed (int nbytes)
virtual int copy_to_get (guint8 *data, int nbytes)
virtual int do_consume (guint8 *buf, int nbytes)
virtual int do_consume_and_inflate (int nbytes)
virtual int do_copy_to_get (guint8 *data, int nbytes)
virtual GByteArray * do_inflate (guint8 *in_buffer, int nbytes)
virtual int flush_output ()
virtual unsigned int get_compressed_left () const
virtual unsigned int get_compressed_size () const
virtual GByteArray * inflate (guint8 *data, int nbytes)
virtual void init_inflation () throw (ZlibBufferException)
virtual bool is_compressed () const
virtual int overflow (int c=EOF)
virtual int reallocate_buffers (int new_getsize, int new_putsize)
virtual void reset ()
virtual void reset_inflation () throw (ZlibBufferException)
virtual int underflow ()
guint16 unpack_2bytes (guint8 *data, const int offset)
guint32 unpack_4bytes (guint8 *data, const int offset)

Protected Attributes

URIHandle_urihandle

Private Member Functions

 JarBuffer (JarBuffer const &rhs)
JarBufferoperator= (JarBuffer const &rhs)

Private Attributes

guint32 compressed_left
guint32 compressed_size
guint16 eflen
guint16 flags
guint16 method

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index