For example: ubyte[] data = [5, 34, 9, 45]; file.rawWrite(data); // OKAYubyte[] data = [0, 0, 0, 45]; file.rawWrite(data); // NOT OKAY
Since ubytes are pretty much the same as chars, I think writing 0 to the file will actually write the null character, which probably isn't a good thing.