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

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

    • qaz
      link
      108 months ago

      But does it count the null byte or not?

      • @[email protected]
        link
        fedilink
        48 months ago

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