CPluginManagerStream::Write(const char* buffer, PRUint32 offset, PRUint32 len, PRUint32 *aWriteCount)
CPluginManagerStream::Write(const char* buffer, PRUint32 len, PRUint32 *aWriteCount)
CPluginManagerStream::Write(const char* buffer, PRUint32 offset, PRUint32 len,                             PRUint32 *aWriteCount){    assert( npp != NULL );    assert( pstream != NULL );    assert(offset == 0);    // XXX need to handle the non-sequential write case    *aWriteCount = NPN_Write(npp, pstream, len, (void* )buffer);    return *aWriteCount >= 0 ? NS_OK : NS_ERROR_FAILURE;}