When trying to compile the msgpack library to Nim, types are off
```
[nimsuggest chk] type mismatch: got 'int' for 'if isNegInt5(this): negInt5Value(this) else: 4919' but expected 'uint8'
[nimsuggest chk] type mismatch: got 'uint32' for 'this.strLen32' but expected 'uint16'
[nimsuggest chk] type mismatch: got 'uint16' for 'if isStr16(this): this.strLen16 else: this.strLen32' but expected 'uint8'
[nimsuggest chk] type mismatch: got 'uint32' for 'this.numArrayElements32' but expected 'uint16'
[nimsuggest chk] type mismatch: got 'uint16' for 'if isArray16(this): this.numArrayElements16 else: this.numArrayElements32' but expected 'uint8'
[nimsuggest chk] type mismatch: got 'uint32' for 'this.numMapElements32' but expected 'uint16'
[nimsuggest chk] type mismatch: got 'uint16' for 'if isMap16(this): this.numMapElements16 else: this.numMapElements32' but expected 'uint8'
```