gecko-dev/intl/uconv
Nika Layzell 3b40268cc1 Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8
This is semantically similar to the existing available() method, however will
not block, and doesn't need to do the work to actually determine the number of
available bytes.

As part of this patch, I also fixed one available() implementation which was
incorrectly throwing NS_BASE_STREAM_WOULD_BLOCK.

Differential Revision: https://phabricator.services.mozilla.com/D170697
2023-03-15 19:52:34 +00:00
..
crashtests
tests Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
components.conf
directory.txt
moz.build
nsConverterInputStream.cpp
nsConverterInputStream.h
nsConverterOutputStream.cpp
nsConverterOutputStream.h
nsIScriptableUConv.idl
nsITextToSubURI.idl
nsScriptableUConv.cpp
nsScriptableUConv.h
nsTextToSubURI.cpp
nsTextToSubURI.h