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

size_t JikesAPI::FileWriter::write ( const unsigned char *  data,
size_t  size 
)

The Write() method on all WriteObject(s) makes sure that we do not send too much data to the virtual function.

Definition at line 289 of file jikesapi.cpp.

{
    size_t result   = 0;

    if (size <= maxSize)
    {
        result = doWrite(data, size);
        maxSize -= size;
    }

    return result;
}


Generated by  Doxygen 1.6.0   Back to index