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); }
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; }