blob: 2764177e5c561f384914204148d5cee7466c1181 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- @meta
--- @defgroup lua-mpack
---
--- @brief The \*vim.mpack\* module provides encoding and decoding of Lua objects to and
--- from msgpack-encoded strings. Supports |vim.NIL| and |vim.empty_dict()|.
--- Decodes (or "unpacks") the msgpack-encoded {str} to a Lua object.
--- @param str string
function vim.mpack.decode(str) end
--- Encodes (or "packs") Lua object {obj} as msgpack in a Lua string.
function vim.mpack.encode(obj) end
|