(self, buffer, offset=0, size=None)
| 278 | |
| 279 | # Attach a given memory buffer |
| 280 | def attach_buffer(self, buffer, offset=0, size=None): |
| 281 | self.buffer.attach_buffer(buffer, offset, size) |
| 282 | |
| 283 | # Allocate memory in the current write buffer and return offset to the allocated memory block |
| 284 | def allocate(self, size): |