/// Adds a new edge labeled with `label` and pointing to a leaf with `blob`
/// inside.
Adds a new edge labeled with `label` and pointing to a leaf with `blob`
inside.
Adds a new edge labeled with ` label ` and pointing to a leaf with ` blob ` inside .
pub fn named_blob<B>(b: &mut B, label: impl AsRef<[u8]>, blob: impl AsRef<[u8]>)
where
    B: HashTreeBuilder,
{
    b.new_edge(Label::from(label));
    b.start_leaf();
    b.write_leaf(blob.as_ref());
    b.finish_leaf();
}
pub fn named_blob < B > ( b : & mut B , label : impl AsRef < [ u8 ] > , blob : impl AsRef < [ u8 ] > ) where B : HashTreeBuilder , { b . new_edge ( Label :: from ( label ) ) ; b . start_leaf ( ) ; b . write_leaf ( blob . as_ref ( ) ) ; b . finish_leaf ( ) ; }
Adds a new edge labeled with `label` and pointing to a leaf with `blob`
inside.
Adds a new edge labeled with ` label ` and pointing to a leaf with ` blob ` inside .
b
&mut B
label
impl AsRef<[u8]>
blob
impl AsRef<[u8]>