From d8903828adb408794b324953687c946b59d323dd Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Fri, 6 Jan 2017 11:19:20 +0000 Subject: [PATCH] update README with for VBKV --- README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rst b/README.rst index 1032b7e..b7bb969 100644 --- a/README.rst +++ b/README.rst @@ -68,6 +68,16 @@ For binary representation d = vdf.binary_loads(vdf_bytes) b = vdf.binary_dumps(d) + # alternative format - VBKV + + d = vdf.binary_loads(vdf_bytes, alt_format=True) + b = vdf.binary_dumps(d, alt_format=True) + + # VBKV with header and CRC checking + + d = vdf.vbkv_loads(vbkv_bytes) + b = vdf.vbkv_dumps(d) + Using an alternative mapper .. code:: python