Was learning Rust by writing an arbitrary length positive integer codec for any base 256 or lower number a good idea? Maybe not, but it's 80% done now, so I have to finish it.

Reply to this note

Please Login to reply.

Discussion

#rust #asknostr

Huh... looks like I have an issue with the encoding step. Works well on decimal and hex numbers, but my base64 encode doesn't match other tools for my test. I found one error in starting at '0' rather than 'A', but correcting that didn't fix the issue.

Am I missing something about the standard base64 encoding?

#rust #learnrust #asknostr

nostr:nevent1qqsyptk9p4fg26m749exugyugtrtrvz0pzrqnsawz0fc724lcpz0yggppemhxue69uhkummn9ekx7mp0qgsf5jkdawtc2e0zwjgdefjus05lv469atkpmxsyqkjj6xvvzjyezwcrqsqqqqqpefas4r