public override bool Equals(Blob blob)
{
CompressedBlob cb = blob as CompressedBlob;
if (cb == null) return false;
if (this == cb) return true;
if (!this.compression.Equals(cb.compression)) return false;
byte[] a = this.data, b = cb.data;
if (a.Length != b.Length) return false;
for (int i = 0; i < a.Length; i++)
if (a[i] != b[i])
return false;
return true;
}
}