• @[email protected]
    link
    fedilink
    32
    edit-2
    10 months ago

    Good thing this only uses ASCii characters, else you get into some fun discussions about UTF encoding

    • qaz
      link
      1010 months ago

      But does it count the null byte or not?

      • @[email protected]
        link
        fedilink
        410 months ago

        In most languages, length method doesn’t count the null terminator. Might result in some fun memory errors