public virtual void Test() { StatefulBuffer writer = new StatefulBuffer(null, 300); string stringRepresentation = SignatureGenerator.GenerateSignature(); new LatinStringIO().Write(writer, stringRepresentation); Signature signature = new Signature(writer.GetWrittenBytes()); Assert.AreEqual(stringRepresentation, signature.ToString()); }
public virtual long LoidForSignature(Signature signature) { return _loidBySignature[signature]; }
public DrsUUIDImpl(Signature signature, long longPart) { _signature = signature; _longPart = longPart; }
public virtual void Add(Signature signature, long signatureLoid) { _loidBySignature[signature] = signatureLoid; _signatureByLoid[signatureLoid] = signature; }