Replies: 1 comment
-
i still have one problem though : always returns string even if I stored bytestring In [314]: kv.get('abc') it should return b'\x00\x01\x00\x02\x00\x03\x00\x04', but does not.. I.e. there is no way to figure did u stored a list or scalar, so u can convert it back |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With those two convert list of nums to string to use as a key or value and back :
u can add this to the docs
bytes(b,'utf-8') : assumes u got back string if u got bytestring just use 'b' directly
Beta Was this translation helpful? Give feedback.
All reactions