#NEWLINE# def _ensure_length( self , dest , length ) : #NEWLINE# #INDENT# if ( len ( dest . getvalue ( ) ) < length ) : #NEWLINE# #INDENT# data = self . _tee ( ( length - len ( dest . getvalue ( ) ) ) ) #NEWLINE# dest . write ( data ) #NEWLINE# #UNINDENT# return dest . getvalue ( )