Skip to content

Commit

Permalink
update README with for VBKV
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Jan 6, 2017
1 parent 5e5dc71 commit d890382
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d890382

Please sign in to comment.