def load(self, b):
n = len(b)<EOL>new_extent = self._extent + n<EOL>overflow = new_extent - len(self._data)<EOL>if overflow > <NUM_LIT:0>:<EOL><INDENT>if self._recycle():<EOL><INDENT>return self.load(b)<EOL><DEDENT>self._view = None<EOL>new_extent = self._extent + n<EOL>self._data[self._extent:new_extent] = b<EOL>self._view = memoryview(self._data)<EOL><DEDENT>else:<EOL><INDENT>self._view[self._extent:new_extent] = b<EOL><DEDENT>self._extent = new_extent<EOL>
Note: may modify buffer size