public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null || this.GetType() != obj.GetType()) { return(false); } WrappedByteArray compare = (WrappedByteArray)obj; return(this.bytes.SequenceEqual(compare.bytes)); }
public static Key Of(byte[] bytes) { return(new Key(WrappedByteArray.Of(bytes))); }
private Key(WrappedByteArray data) { this.data = data; }
public static Value Of(Operator op, byte[] data) { return(new Value(op, WrappedByteArray.Of(data))); }
private Value(Operator op, WrappedByteArray data) { this.op = op; this.data = data; }