a2 / MessagePack.swift

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]

Home Page:http://msgpack.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'compatibility' argument in unpack methods has no documentation

endocrimes opened this issue · comments

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)