Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

int org::w3c::dom::io::GzipInputStream::available (  )  [virtual]

Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.

Reimplemented from org::w3c::dom::io::BasicInputStream.

Definition at line 72 of file gzipstream.cpp.

References load().

{
    if (closed)
        return 0;
    if (!loaded)
        if (!load())
            return 0;
    return (int) buffer.size();
}


Generated by  Doxygen 1.6.0   Back to index