Trial: Implement DoWrite() as WriteBytes().