ugorji/go-msgpack — pull request #6 by dgryski (2012-06-11 20:33:04+00:00)
Title: decode: prevent panic when unserializing integers

Most encoders produce signed or unsigned integers depending on the *value* being encoded, _not_ on the *type* of the variable being encoded. This lets us pass an integer type to the decoder and the appropriate SetInt or SetUint is called, without causing a panic if we failed to guess the correct type one of the serialized values.