Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Given a chunk of data, determines a MIME type. Information from the given request may be used in order to make a better decision.
The content type
NS_ERROR_NOT_AVAILABLE if no MIME type could be determined.
Implementations should consider the request read-only. Especially, they should not attempt to set the content type property that subclasses of nsIRequest might offer.
The request where this data came from. May be null.
Data to check
Length of the data
Generated using TypeDoc
Content sniffer interface. Components implementing this interface can determine a MIME type from a chunk of bytes.