What is Nostr?
Dan Lyke /
npub18tv…nm77
2024-12-24 06:03:46
in reply to nevent1q…y09n

Dan Lyke on Nostr: nprofile1q…txaa5 maybe. I get str vs String, I think I'm not yet sure enough on ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqar35qqejrwrgdcdnhzr4rv2vullexwknk5y687vjp040t8c2pcgs7txaa5 (nprofile…xaa5) maybe. I get str vs String, I think I'm not yet sure enough on ownership to know if I can safely use str references or if I should pass a String reference and an index and use .bytes() everywhere.

I had hopes that I could use copies of a Char iterator and do the .is_whitespace() thing on Unicode glyphs. And I need to be careful about substrings and UTF8 bounds...
Author Public Key
npub18tvqvselr5yayepamzl5zc5fqfcyf9feswd2k7ua5g27r4tgrwkq2jnm77