Closed maarek closed 9 years ago
Hi Jeremy,
Carmine adds a prefix to serialized and bin data to allow auto-distinguishing from the two on later read. You can circumvent this by using the raw
util. Any arguments wrapped with (raw <arg>)
will be written to Redis exactly as-is.
Likewise, you can use parse-raw
while reading.
Does that help?
Peter, That's perfect! Thanks for the quick response.
No problem, cheers! :-)
I am using MsgPack to encode/decode data structures that I send and receive from Redis. What I am finding is that the data sent to redis from Carmine includes "\x00<" appended to the data. This is causing me issues when I retrieve that data from say Python and then unpack the data. If I strip it of "\x00<" the data unpacks properly. Any thoughts on why this null< character is added to byte data from Carmine? I am on version 2.7.0 of Carmine.