def resize_bytes(self, size):
    ' Resize this buffer (deferred operation). \n        \n        Parameters\n        ----------\n        size : int\n            New buffer size in bytes.\n        '
    self._nbytes = size
    self._glir.command('SIZE', self._id, size)
    for view in self._views:
        if (view() is not None):
            view()._valid = False
    self._views = []
Resize this buffer (deferred operation). 

Parameters
----------
size : int
    New buffer size in bytes.
def resize_bytes(self, size):
    ' Resize this buffer (deferred operation). \n        \n        Parameters\n        ----------\n        size : int\n            New buffer size in bytes.\n        '
    self._nbytes = size
    self._glir.command('SIZE', self._id, size)
    for view in self._views:
        if (view() is not None):
            view()._valid = False
    self._views = []