> too niche a question to be a valuable signal for a hiring committee
I feel like I must be taking crazy pills, but this thread is definitely derailed at this point, so...
I don't hesitate to take a hard stance on this. If you don't know off the top of your head how to write a value to a sequence of bytes, you are an incompetent programmer and are unfit for the profession. That is indeed a VERY strong signal to a hiring committee.
It's like interviewing to be an IP lawyer and now knowing what the types of intellectual property are, or interviewing for a copy editor and now knowing basic sentence structure. There's a baseline of knowledge that anyone ordinarily skilled in the art needs to have, and trivial operations on sequences of values is without question one of them.