def _bytes(self):
        """:return: bytes from a :class:`io.BytesIO`"""
        file = BytesIO()
        self.__dump_to_file(file)
        file.seek(0)
        return file.read()
def _bytes(self):
        """:return: bytes from a :class:`io.BytesIO`"""
        file = BytesIO()
        self.__dump_to_file(file)
        file.seek(0)
        return file.read()
def _bytes ( self ) : file = BytesIO ( ) self . __dump_to_file ( file ) file . seek ( 0 ) return file . read ( )
:return: bytes from a :class:`io.BytesIO`
: return : bytes from a : class : io . BytesIO