Allowing rewriting or rereading data to or from the buffer