To this day, I still don't understand strings in C. I get it at a conceptual level, but I can't ever figure out how to use them in practice.
@TheAmazingRando they're just broken. They should be length prefix + bytes, IMO
-
-
@bascule Right. But I can't figure out what incantations I need to init a var that I can pass in as `buf` here: https://github.com/amcewen/HttpClient/blob/master/HttpClient.cpp#L469 … -
@TheAmazingRando (uint8_t *)str doesn't work? -
@bascule I'll try that now. And then how do I `atoi` that buffer? :) -
@TheAmazingRando char and uint8 should both be bytes, AFAIK
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.