Update to 1.1.0 #5
1 changed files with 22 additions and 0 deletions
|
@ -510,4 +510,26 @@ namespace System.Collections
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
extension SHA256Hash : IBofaParseable
|
||||
{
|
||||
public bool Serialize(Bofa.Bofa pTarget)
|
||||
{
|
||||
pTarget.Type = .Hash;
|
||||
pTarget.Typename = "Hash";
|
||||
pTarget.Value.Hash = (.)this;
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Deserialize(Bofa.Bofa pInput) mut
|
||||
{
|
||||
if(pInput.Type != .Hash)
|
||||
return false;
|
||||
this = pInput.Value.Hash;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue