basho/riak_pb — pull request #24 by vkoivula (2012-12-19 18:29:13+00:00)
Title: Proposed fix to handle binary and integer in secondary indexes.

Added function riak_pb_kv_codec:decode_index_pair/1. I am not sure if this should be exported for some use, but already made encode_index_pair/1 isn't.

I will fix things according to comments if needed.

ps. tests from test/encoding_test.erl are failing for me, but changed it to reflect the proper decoding.