Logo Search packages:      
Sourcecode: inkscape version File versions

int Inkscape::IO::BasicReader::available (  )  [virtual]

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

Implements Inkscape::IO::Reader.

Reimplemented in Inkscape::IO::InputStreamReader, Inkscape::IO::StdReader, Inkscape::IO::UriReader, Inkscape::IO::InputStreamReader, Inkscape::IO::StdReader, and Inkscape::IO::UriReader.

Definition at line 155 of file inkscapestream.cpp.

Referenced by readLine(), and readWord().

    if (source)
        return source->available();
        return 0;

Generated by  Doxygen 1.6.0   Back to index