News for hackers. Stuff that matters.
Re:Ask HN: Is big-endian dead? by TheOtherDave on Friday January 19, 2018 @08:51PM (#16191574)
Or you could just decrement base.
Re:Ask HN: Is big-endian dead? by PeCaN on Friday January 19, 2018 @10:45PM (#16191936)
This also conveniently allows you to store the length at the "real" base.

    0 array length <--- base pointer
    1 element 1    <--- array[1] == *(base + 1)
    2 element 2    <--- array[2] == *(base + 2)