in Amazon.QLDB.Driver/utils/QldbHash.cs [41:49]
internal QldbHash(byte[] qldbHash)
{
if (qldbHash == null || !(qldbHash.Length == HashSize || qldbHash.Length == 0))
{
throw new ArgumentException($"Hashes must either be empty or {HashSize} bytes long");
}
this.Hash = qldbHash;
}