public FreeBlock(Unpacker unpacker)
 {
     unpacker.Unpack(out Index);
     unpacker.Unpack(out Count);
 }
 public static Hash UnpackHash(this Unpacker unpacker)
 {
     unpacker.Unpack(out Hash hash);
     return(hash);
 }
 public static Key UnpackKey(this Unpacker unpacker, bool isPrivateKey)
 {
     unpacker.Unpack(isPrivateKey, out Key key);
     return(key);
 }
 public static Signature UnpackSignature(this Unpacker unpacker)
 {
     unpacker.Unpack(out Signature signature);
     return(signature);
 }
Example #5
0
 public Item(Unpacker unpacker)
 {
     unpacker.Unpack(out Name);
     unpacker.Unpack(out Checksum);
 }