7
kiki
7d

Yes, pdf a’s code of some kind is indeed ends with a space, and that space is mandatory. Who let uncle bob specify anything, anything at all?

Comments
  • 1
    That's pretty common. I've never seen a magic number that wasn't stored as a packed u32. Just makes it easier to compare and have as part of a header struct
  • 0
    @12bitfloat so common that wikipedia needed to clarify that right then and there?
  • 1
    @kiki Yes, because the space might be overlooked accidentally

    Do you actually think people store stuff in 3 bytes?
  • 1
    For a file siggy? Not confusing if you read it in hex, because you can *see* the space ($20464450).

    But when you render them as text, that's the first mistake, because you shouldn't. What if the siggy was something jackoffesque? "NICETITS" ($41CE7175) would read "uqÎA", which is just wrong on an ethical level.
Add Comment