[EDIT] Thanks to @VilleKrumlinde I have fixed a bug that I accidentally introduced earlier when trying to avoid a Code Analysis warning. I was accidentally turning on “overlapped” file handling, which kept resetting the file length. That is now fixed, and you can call FastWrite() multiple times for the same stream without issues. [End Edit] [...]
The post Windows API seems much faster than BinaryWriter – is my test correct? appeared first on BlogoSfera.