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

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

    • qaz
      link
      109 months ago

      But does it count the null byte or not?

      • @[email protected]
        link
        fedilink
        49 months ago

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