public virtual ByteArrayBuffer ReadBufferBySlot(Slot slot)
        {
            if (Slot.IsNull(slot))
            {
                return(null);
            }
            if (DTrace.enabled)
            {
                DTrace.ReadSlot.LogLength(slot.Address(), slot.Length());
            }
            ByteArrayBuffer buffer = new ByteArrayBuffer(slot.Length());

            buffer.ReadEncrypt(this, slot.Address());
            return(buffer);
        }
Ejemplo n.º 2
0
		public virtual ByteArrayBuffer ReadBufferBySlot(Slot slot)
		{
			if (Slot.IsNull(slot))
			{
				return null;
			}
			if (DTrace.enabled)
			{
				DTrace.ReadSlot.LogLength(slot.Address(), slot.Length());
			}
			ByteArrayBuffer buffer = new ByteArrayBuffer(slot.Length());
			buffer.ReadEncrypt(this, slot.Address());
			return buffer;
		}