do I understand correctly that one actor uses this buffer in a write(), then the next actor runs on that same thread and clears that buffer? Is that safe?