def peek(self, length):
t = self.current_position + length<EOL>if not self.current_segment.inrange(t):<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>return self.current_segment.data[self.current_position - self.current_segment.start_address :t - self.current_segment.start_address]<EOL>
Returns up to length bytes from the current memory segment