You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New Features
Added an opt-in lazy decode mode for MsgPackDecoder. Construct with MsgPackDecoder(options: .lazyScan) to defer walking the contents of MessagePack arrays and maps until the Codable target asks for them. Significantly reduces wall clock and allocations when decoding a small subset of fields from large maps. See the Performance section in the README for guidance and safety notes.
Added MsgPackRawValue, the MessagePack analogue of Go's encoding/json.RawMessage. Lets you defer decoding or pass MessagePack bytes through unchanged. Encoded as raw literal bytes by MsgPackEncoder; decoded only via MsgPackDecoder.
Other Changes
Updated README: added overview / improved structure, switched platform badges to Swift Package Index dynamic badges, and refreshed MessagePack website URLs.