This interface is implemented by a stream object returned by the IHttpResponse.stream property.
interface IInputStream {
// Methods
${readChunk}(maxSize: number): Promise<Uint8Array>;
}
// This interface is not available in managed environment
// This interface is not available in native environment
readChunk(maxSize: number): Promise<Uint8Array>;
// This method is not available in managed environment
// This method is not available in native environment
maxSize
Read data as a byte array.
Read a portion of data from the stream.