- !stream.Write(&hdr.bih_size, 4) ||
- !stream.Write(&hdr.width, 4) ||
- !stream.Write(&hdr.height, 4) ||
- !stream.Write(&hdr.planes, 2) ||
- !stream.Write(&hdr.bpp, 2) ||
- !stream.Write(&hdr.compression, 4) ||
- !stream.Write(&hdr.size_of_bmp, 4) ||
- !stream.Write(&hdr.h_res, 4) ||
- !stream.Write(&hdr.v_res, 4) ||
- !stream.Write(&hdr.num_clrs, 4) ||
- !stream.Write(&hdr.num_signif_clrs, 4)
+ !stream.WriteAll(&hdr.bih_size, 4) ||
+ !stream.WriteAll(&hdr.width, 4) ||
+ !stream.WriteAll(&hdr.height, 4) ||
+ !stream.WriteAll(&hdr.planes, 2) ||
+ !stream.WriteAll(&hdr.bpp, 2) ||
+ !stream.WriteAll(&hdr.compression, 4) ||
+ !stream.WriteAll(&hdr.size_of_bmp, 4) ||
+ !stream.WriteAll(&hdr.h_res, 4) ||
+ !stream.WriteAll(&hdr.v_res, 4) ||
+ !stream.WriteAll(&hdr.num_clrs, 4) ||
+ !stream.WriteAll(&hdr.num_signif_clrs, 4)