Search completed in 1.22 seconds.
1 results for "nsiwritesegmentfun":
nsIInputStream
Mozilla › Tech › XPCOM › Reference › Interface › nsIInputStream
nts to avoid an intermediate buffer copy. nsresult CopyStream(nsIInputStream* aStream, nsACString& aResultBuf) { uint32_t numRead; return aStream->ReadSegments(AppendSegment, (void*) &aResultBuf, PR_UINT32_MAX, &numRead); } Remarks This interface was frozen for Gecko 1.0. See bug 124465 for details. From Gecko 2.0 interfaces are no longer frozen. See also nsIWriteSegmentFun nsIScriptableInputStream - If you need to read a stream from JavaScript. ...