streams-jar.cpp revision 47d32690b154bab52ddbb67c744d8d5704638f89
#include "streams-jar.h"
namespace Inkscape {
{
try {
#ifdef DEBUG_STREAMS
#endif
}
throw JarHeaderException();
}
}
{
#ifdef DEBUG_STREAMS
#endif
if (signature == 0x08074b50) {
throw JarHeaderException();
}
}
{
bool do_reset = false;
while (compressed_left == 0) {
do_reset = true;
}
if (do_reset) {
}
}
int JarBuffer::consume_and_inflate()
{
int nbytes;
reset();
if (is_compressed())
return consume_compressed(nbytes);
else
return consume_uncompressed(nbytes);
}
{
delete [] efbuf;
return 1;
}
return ret;
}
{
}
delete [] data;
return consumed;
}
{
return gba;
}
{
}
{
}
} // namespace Inkscape
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :