msgpack icon indicating copy to clipboard operation
msgpack copied to clipboard

msgpack.org[Go] MessagePack encoding for Golang

Results 46 msgpack issues
Sort by recently updated
recently updated
newest added

When I try the run the following code I get the following error: error encoding message with encoder msgpack: Decode(nonaddressable main.MyDecimal) encoded bytes: [131 204 204 204 188 205 1...

## Expected Behavior (v4) https://go.dev/play/p/BXgPx5l-SDf Structure roundtrips successfully. ``` [142 161 105 192 161 103 202 64 160 0 0 161 97 210 0 0 0 5 161 106 129...

bug

![SQJ%%VX%MZS~8UQ0F9)G)1X](https://user-images.githubusercontent.com/16882802/146119749-b0e57dd1-b7ad-498f-a9cf-cdf2dfbae28a.png)

it appears that `EncodeValue` uses bytes.Buffer to write which leads to a makeSlice, which does not appear to be released leading to a memory leak (due to exponential growth...) when...

## Expected Behavior The documentation should say more explicitly how it handles exported and unexported struct fields. ## Current Behavior The documentation doesn't say much about this (unless I missed...

For my use-case I use nested maps with integers as keys (instead of strings as usual). For example this: ``` [129 5 133 0 169 49 50 55 46 48...

Issue tracker is used for reporting bugs and discussing new features. Please use [Discord](https://discord.gg/rWtp5Aj) or [stackoverflow](https://stackoverflow.com) for supporting issues. ## Expected Behavior no panic and unmarshal success ## Current Behavior...

Issue tracker is used for reporting bugs and discussing new features. Please use [Discord](https://discord.gg/rWtp5Aj) or [stackoverflow](https://stackoverflow.com) for supporting issues. **Struct** ``` type ASMTPError struct { err error s int }...

I just found your code yesterday -- thanks for writing this! I tried decoding a message into some unexported struct fields and it silently ignored them. I looked through the...