Skip to main content

from_node_num_to_path

Function from_node_num_to_path 

Source
pub fn from_node_num_to_path(t: u128, l: u8) -> Result<Vec<u8>, PixelError>
Expand description

Convert node number (prefix) to path of node. Path is from root to the node and l = depth + 1 where depth is the depth of the tree.