(self, target='original')
Serialize data to stdout

        Args:
            target : Target bytes array to print (original, encapsulated or
                     encrypted).
Serialize data to stdout
Serialize data to stdout
def serialize(self, target='original'):
        """Serialize data to stdout

        Args:
            target : Target bytes array to print (original, encapsulated or
                     encrypted).

        """
        data = self.get_data(target)
        assert (isinstance(data, bytes))
        sys.stdout.buffer.write(data)
        sys.stdout.buffer.flush()
def serialize ( self , target = 'original' ) : data = self . get_data ( target ) assert ( isinstance ( data , bytes ) ) sys . stdout . buffer . write ( data ) sys . stdout . buffer . flush ( )