character buffer for writes