public Db4objects.Db4o.CS.Internal.Messages.MsgD GetWriterForLong(Transaction a_trans , long a_long) { Db4objects.Db4o.CS.Internal.Messages.MsgD message = GetWriterForLength(a_trans, Const4 .LongLength); message.WriteLong(a_long); return(message); }
public Db4objects.Db4o.CS.Internal.Messages.MsgD GetWriterForLongs(Transaction trans , long[] longs) { Db4objects.Db4o.CS.Internal.Messages.MsgD message = GetWriterForLength(trans, Const4 .LongLength * longs.Length); for (int i = 0; i < longs.Length; i++) { message.WriteLong(longs[i]); } return(message); }