Skip to content

update cli with new methods: SetString(), GetString(), and so.#2

Merged
72sevenzy2 merged 16 commits into
feat/binary-serializationfrom
feat/update-cli-cmds
May 16, 2026
Merged

update cli with new methods: SetString(), GetString(), and so.#2
72sevenzy2 merged 16 commits into
feat/binary-serializationfrom
feat/update-cli-cmds

Conversation

@72sevenzy2
Copy link
Copy Markdown
Owner

No description provided.

@72sevenzy2 72sevenzy2 self-assigned this May 15, 2026
72sevenzy2 added 15 commits May 15, 2026 16:47
…o uint, if yes then utilised SetInt() (but after converting to type uint32), if not then utilised SetString() func).
…re stored in same map, GetInt() blindly converts data to uint32 without knowing if value is type string, so i added a temporary fallback to check if len(data) is not 4 bytes in total, meaning that its a string, and by doing so the other fallback logic in GET cmd (main.go) can execute.)
… with unsafe fallback logic if GetInt() blindy interprets value as string).
… values are available for b.GetAllInt (basically a fallback), but very unsafe and not tested).
…value type int exists before checking if its string, otherwise there is no data available.)
… (working as of now but will optimise fallbacks to safer methods).
@72sevenzy2 72sevenzy2 merged commit b856f2c into feat/binary-serialization May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant