☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 10 months agoNew File Formatlemmy.mlimagemessage-square78fedilinkarrow-up1701arrow-down117
arrow-up1684arrow-down1imageNew File Formatlemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 10 months agomessage-square78fedilink
minus-square@fibojolylink1•10 months ago“Magic bytes”? We just called them headers, back in my day (even if sometimes they are at the end of the file)
minus-square@[email protected]linkfedilink3•10 months agoThe library that handles it is literally called “libmagic”. I’d guess the phrase “magic bytes” comes from the programming concept of a magic number?
minus-square@fibojolylink2•10 months agoI did not know about that one! It makes sense though, because a lot of headers would start with, well yeah, “magic numbers”. Makes sense.
“Magic bytes”? We just called them headers, back in my day (even if sometimes they are at the end of the file)
The library that handles it is literally called “libmagic”. I’d guess the phrase “magic bytes” comes from the programming concept of a magic number?
I did not know about that one! It makes sense though, because a lot of headers would start with, well yeah, “magic numbers”. Makes sense.