diff --git a/README.rst b/README.rst index b0ac050..7ef0143 100644 --- a/README.rst +++ b/README.rst @@ -98,8 +98,11 @@ Example code # HashTableNT mapping 256bit key [bytes] --> Chunk value [namedtuple] Chunk = namedtuple("Chunk", ["refcount", "size"]) + ChunkFormat = namedtuple("ChunkFormat", ["refcount", "size"]) + chunk_format = ChunkFormat(refcount="I", size="I") + # 256bit (32Byte) key, 2x 32bit (4Byte) values - ht = HashTableNT(key_size=32, value_format="