...because it is useful for dynamically choosing the message to encode. Specifically used by riak_pb_codec module in basho/riak_pb.
Will resolve basho/riak-erlang-client#61
Re-export decode/2 because it is useful for dynamically choosing the …
…message to encode.
Seems to work fine. I was able to get bucket properties etc. Also confirmed by users in #riak.