msgpack
msgpack copied to clipboard
easier, faster, but extendable MessagePack Serializer for Golang. / msgpack.org[Go]
I know this is a huge PR, but this PR theoretically solves a major pain point I've been experiencing with very large messagepack values. Instead of reading hundreds of megabytes...
Hi there, I've been fuzzing this library using the excellent [`go-fuzz`](https://github.com/dvyukov/go-fuzz) fuzzer. It has produced quite a few panics in the `Unmarshal` functionality. These panics can have security implications and...
I have structs with fields a type msgpack does not understand. Fortunately the type has a simple way to be built and stored as sequence of bytes, so I expected...
I am trying to read multiple messages appended to a file. This PR adds a poor mans version of a decoder for an io.Reader. Poor man, because it reads the...
Hello, we are a research team working on Golang. During our investigation, we found CVE-2022-41719 was addressed in commit 2cb19ad9e60a9ad9bb7904fdb6b40b457125d3bb. However, we noticed that the patch version (v2.1.1) was released...
This PR adds the capability to define an `UnmarshalMsgpack()` method on any type, which allows customizing how unmarshaling works. The `UnmarshalMsgpack()` method takes a single parameter of type `any` which...
Like title guy.
If you have an ext encoder for a distinct int type (as is often used for "enums" in Go), then the encoder will still encode it as if it is...
## Description In Go, the built-in map type does not guarantee iteration order. When unmarshaling data structures (such as those encoded via MessagePack), the key iteration order of a map...
```go var structA struct { ID int `json:"id" msgpack:"id"` } var structB []struct { structA Title string `json:"title" msgpack:"title"` } for _, s := range structAarrs { item := struct...