IteratorFileStream#

class composer.utils.IteratorFileStream(iterator)[source]#

Class used to convert iterator of bytes into a file-like binary stream object.

Original implementation found here.

Parameters

iterator โ€“ An iterator over bytes objects