BTDBTest.ODBIteratorTest.ToStringFastVisitor.MarkCurrentKeyAsUsed C# (CSharp) Method

MarkCurrentKeyAsUsed() public method

public MarkCurrentKeyAsUsed ( IKeyValueDBTransaction tr ) : void
tr IKeyValueDBTransaction
return void
            public void MarkCurrentKeyAsUsed(IKeyValueDBTransaction tr)
            {
                Keys = Keys.ResizingAppend(ByteBuffer.NewSync(tr.GetKeyPrefix())).ResizingAppend(tr.GetKey());
                Builder.Append("Used key: ");
                Print(ByteBuffer.NewSync(tr.GetKeyPrefix()));
                Builder.Append('|');
                Print(tr.GetKey());
                Builder.AppendFormat(" Value len:{0}", tr.GetStorageSizeOfCurrentKey().Value);
                Builder.AppendLine();
            }
ODBIteratorTest.ToStringFastVisitor