def runLengthEncode(stream):
 encodedStream = ''
 return ((-1), 'RunLengthEncode not supported yet')

def runLengthEncode ( stream ) : encodedStream = '' return ( ( - 1 ) , 'RunLengthEncode not supported yet' )
method to encode streams using the run-length algorithm .