ParentFull threadsamfoo·The problem is that you can't be sure how many bytes and int is on any given platform. So your way is more readable, but not portable.View on HN