Ejemplo n.º 1
0
        public override void EncodeSpecific(BinaryWriter writer)
        {
            writer.WriteVarBytes(Key);
            var hashNode = new HashNode(Next.GetHash());

            hashNode.EncodeSpecific(writer);
        }
Ejemplo n.º 2
0
 public override void EncodeSpecific(BinaryWriter writer)
 {
     for (int i = 0; i < ChildCount; i++)
     {
         var hashNode = new HashNode(Children[i].GetHash());
         hashNode.EncodeSpecific(writer);
     }
 }