public virtual StatefulBuffer ReadStatefulBufferBySlot(Transaction trans, int id,
                                                               Slot slot)
        {
            if (Slot.IsNull(slot))
            {
                return(null);
            }
            if (DTrace.enabled)
            {
                DTrace.ReadSlot.LogLength(slot.Address(), slot.Length());
            }
            StatefulBuffer buffer = CreateStatefulBuffer(trans, slot.Address(), slot.Length()
                                                         );

            buffer.SetID(id);
            buffer.ReadEncrypt(this, slot.Address());
            return(buffer);
        }