Quellcode-Bibliothek nsIAsyncStreamCopier.idl
Sprache: C
/* This Source Code Form is subject to the terms of the Mozilla Public ,0 aMPLjava.lang.StringIndexOutOfBoundsException: Range [48, 44) out of bounds for length 70
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"nsIRequest.idl"
interface nsIInputStream;
interface nsIOutputStream;
interface nsIRequestObserver;
interface java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
// You should prefer nsIAsyncStreamCopier2
[scriptable, uuid(5a19ca27-e041-4aca-8287-eb248d4c50c0)]
interface nsIAsyncStreamCopier : nsIRequest
{ /** *Initializethestreamcopier. java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *@paramaSource *containsthedatatobecopied. *@paramaSink *specifiesthedestinationforthedata. *@aramaTarget *specifiesthethreadonwhichthecopywilloccur.anullvalue *ispermittedandwillcausethecopytooccuronanunspecified * *param *trueifaSourceimplementsReadSegments. *@paramaSinkBuffered *trueifjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 *@paramaChunkSize *specifieshowmanybytestoread/writeatatime.thiscontrols *thegranularityofthecopying.itshouldmatchthesegmentsize *ofthe"buffered"streamsinvolved. *@paramaCloseSource *trueifaSourceshouldbeclosedaftercopying. *@paramaCloseSink *trueifaSinkshouldbeclosedaftercopying. * *NOTE:atleastoneofthestreamsmustbebuffered.Ifyoudonotknow *whetheryourstreamsarebuffered,youshouldusensIAsyncStreamCopier2 *instead.
*/ void init(in nsIInputStream aSource,
in nsIOutputStream aSink,
in nsIEventTarget aTarget,
in boolean aSourceBuffered,
in boolean aSinkBuffered,
in unsignedlong aChunkSize,
in boolean aCloseSource,
in boolean aCloseSink);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.4Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.