while(buffer.size < BUF_SIZE) ?