Virtual Serial Port Tools - Advanced serial port configurations for your custom ports usage scenario
Download Virtual Serial Port Tools Hide this button

IInputStream Interface

This interface is implemented by a stream object returned by the IHttpResponse.stream property.

Declaration

interface IInputStream {

    // Methods
    ${readChunk}(maxSize: number): Promise<Uint8Array>;
}
// This interface is not available in managed environment
// This interface is not available in native environment

IInputStream Methods

readChunk

readChunk(maxSize: number): Promise<Uint8Array>;
// This method is not available in managed environment
// This method is not available in native environment
maxSize
A maximum number of bytes to read.

Read data as a byte array.

Read a portion of data from the stream.