logoalt Hacker News

simonaskyesterday at 5:30 PM1 replyview on HN

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.


Replies

zimpenfishyesterday at 7:34 PM

TIL! Thanks!