#NEWLINE# def prefix( self , length = 1 ) : #NEWLINE# #INDENT# if ( ( self . pointer + length ) >= len ( self . buffer ) ) : #NEWLINE# #INDENT# self . update ( length ) #NEWLINE# #UNINDENT# return self . buffer [ self . pointer : ( self . pointer + length ) ]