format
Reduce byte copies in FileDataWriter, close #2225