Binary I/O for Newbie

Justin Whear justin at economicmodeling.com
Mon Feb 27 10:56:15 PST 2012


On Mon, 27 Feb 2012 19:42:36 +0100, Tobias Brandt wrote:

> Doesn't the struct alignment play a role here?

Good point. If the data is packed, you can toss an align(1) on the front 
of the struct declaration.


More information about the Digitalmars-d-learn mailing list