string-store enum

Hi, is there a way I could store an enum using string-store? or maybe a 1 byte uint. I'm trying to encode an ApplicationCommandType
Solution:
You define an integer of the size you want, you then cast it later. For 1 byte uint that'd be uint8 :)
Jump to solution
2 Replies
Solution
kyra
kyra3w ago
You define an integer of the size you want, you then cast it later. For 1 byte uint that'd be uint8 :)
Amgelo
AmgeloOP3w ago
alright, thanks!

Did you find this page helpful?