streams-jar.cpp revision 5db8a66d7863bc0af7dfdc71621201a1120a37b6
#include <vector>
#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);
}
{
return 1;
}
return ret;
}
{
}
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 :