Hacker News new | ask | show | jobs
by simonask 195 days ago
In any struct where all fields have the same size (and no field type requires higher alignment than its size), it is guaranteed on every (relevant) ABI that there is no padding bytes.
1 comments

TIL! Thanks!