Exemplo n.º 1
0
		public StatefulBuffer(Db4objects.Db4o.Internal.Transaction trans, Db4objects.Db4o.Internal.Slots.Slot
			 slot) : this(trans, slot.Address(), slot.Length())
		{
		}
Exemplo n.º 2
0
		public IdSlotMapping(int id, Db4objects.Db4o.Internal.Slots.Slot slot) : this(id, 
			slot.Address(), slot.Length())
		{
		}
Exemplo n.º 3
0
		public void UseSlot(Db4objects.Db4o.Internal.Slots.Slot slot)
		{
			_address = slot.Address();
			_offset = 0;
			if (slot.Length() > _buffer.Length)
			{
				_buffer = new byte[slot.Length()];
			}
			_length = slot.Length();
		}