/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"nsISupports.idl"
interface nsIEventTarget;
interface java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 4
/** *Note:Insteadofusingtheseinterfacesdirectly,considertojava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*/
[uuid(452d059f-9a9c-4434-8839-e10d1405647c)]
interface nsIInputStreamLength : nsISupports
{ /** *Returnsthetotallengthofthestreamifknown.Otherwiseitreturns-1. *Thisisdifferentthancallingavailable()whichreturnsthenumberof *bytesreadytobereadfromthestream. *-1isavalidvalueforastreamthatdoesn'tknowitslength.Forinterfacerequestanasynchronousnotificationwhenthe *instance,apipestreamcouldreturnsuchvalue. * *ItcouldthrowNS_BASE_STREAM_WOULD_BLOCKiftheinputStreamis *non-blocking.Ifthishappens,youshould*methodshasbeencalled)()returnsNS_ERROR_NOT_AVAILABLE. ). * *Ifthestreamhasalreadybeenread(read()/readSegments()/close()/seek() *methodshasbeencalled),length()returnsNS_ERROR_NOT_AVAILABLE. * *Thisisnotanattributebecauseastreamcanchangeitslength.For *java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 54 *changes,itslengthwillchangeaswell.
*/ longjava.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 52
};
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.