logoalt Hacker News

Jtsummers11/07/20240 repliesview on HN

Good to know.

I was also coming back in to edit my comment and write that my x -> 0.0.0.x was technically wrong and the same for the others. If you stick to only single-byte values then what I wrote was correct but if the values span multiple bytes they fill in the missing 0s appropriately, as in:

  256   -> 0.0.1.0
  1.256 -> 1.0.1.0