4 ms·
> I would guess that their stance is "If you care about that, do it yourself" No, struct layout is currently undefined[0] so you can't do that yourself. Any ma
by masklinn 11y ago
> I would guess that their stance is "If you care about that, do it yourself"
No, struct layout is currently undefined[0] so you can't do that yourself. Any manual packing you defined today may or may not hold across platforms or future go revisions.
[0] https://github.com/golang/go/issues/10014 https://github.com/golang/go/issues/10014