InputStream Class

File-like object representing an input blob.

Inheritance
InputStream
InputStream

Constructor

InputStream()

Methods

read

Return and read up to size bytes.

read

Return and read up to size bytes.

abstract read(size=- 1) -> bytes

Parameters

size
int
default value: -1

The number of bytes to read. If the argument is omitted, None, or negative, data is read and returned until EOF is reached.

Returns

Bytes read from the input stream.

Attributes

length

name

uri