a2 / MessagePack.swift

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]
http://msgpack.org
MIT License
283 stars 60 forks source link

'compatibility' argument in unpack methods has no documentation #48

Closed endocrimes closed 7 years ago

endocrimes commented 7 years ago

The unpack methods for array and map include a compatibility argument, which is not documented. Tracing through the source suggests that it is used to decode strings or just return the pure data? (https://github.com/a2/MessagePack.swift/blob/master/Sources/MessagePack/Unpack.swift#L145 is the only usage i can find)