(self: _StreamFileMixinProto, file: ty.IO[bytes])
Yields chunks of a file.
		
		Parameters
		----------
		fp
			The file to break into chunks
			(must be an open file or have the ``readinto`` method)
Yields chunks of a file.
		
		Parameters
		----------
		fp
			The file to break into chunks
			(must be an open file or have the ``readinto`` method)
Yields chunks of a file . Parameters ---------- fp The file to break into chunks ( must be an open file or have the readinto method )
def _gen_file_chunks(self: _StreamFileMixinProto, file: ty.IO[bytes]) -> gen_bytes_t:
		"""Yields chunks of a file.
		
		Parameters
		----------
		fp
			The file to break into chunks
			(must be an open file or have the ``readinto`` method)
		"""
		while True:
			buf = file.read(self.chunk_size)
			if len(buf) < 1:
				break
			yield buf
def _gen_file_chunks ( self : _StreamFileMixinProto , file : ty . IO [ bytes ] ) -> gen_bytes_t : while True : buf = file . read ( self . chunk_size ) if len ( buf ) < 1 : break yield buf