def METHOD_NAME(self, size=4096):
    data = self.stream.read(size)
    if self.raw_buffer is None:
        self.raw_buffer = data
    else:
        self.raw_buffer += data
    self.stream_pointer += len(data)
    if not data:
        self.eof = True