b._btree_serializer_py : module documentation

Part of bzrlib

B+Tree index parsing.
Function _parse_leaf_lines Undocumented
Function _flatten_node Convert a node into the serialized form.
def _parse_leaf_lines(bytes, key_length, ref_list_length):
Undocumented
def _flatten_node(node, reference_lists):
Convert a node into the serialized form.
ParametersnodeA tuple representing a node (key_tuple, value, references)
reference_listsDoes this index have reference lists?
Returns(string_key, flattened) string_key The serialized key for referencing this node flattened A string with the serialized form for the contents
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.