`buffer.length = size;`