Why Nostr? What is Njump?
2023-09-26 14:37:28

Martijn Braam on Nostr: Is there just no good resource on putting data in a uint8_t[] buffer and getting it ...

Is there just no good resource on putting data in a uint8_t[] buffer and getting it out again in a correct way in c++? Putting in a string or an unsigned number is easy but annoyingly verbose. Using a struct to represent the buffer seems to work great but is adviced against with packing and compatability :(
Author Public Key
npub127v99t79fuh5hxfdt3yyg8tr7e29c5c2wdchvjmwvue96kz756ssegxxg5