예제 #1
0
 /// <summary>
 /// Generates a user-defined type (UDT) or user-defined aggregate from its binary form.
 /// </summary>
 /// <param name="r">The <see cref="T:System.IO.BinaryReader"/> stream from which the object is deserialized.</param>
 public void Read(BinaryReader r)
 {
     Key   = BTreeUtils.Read <TKey>(r);
     Value = BTreeUtils.Read <TKeyData>(r);
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="w"></param>
 public void Write(BinaryWriter w)
 {
     BTreeUtils.Write(w, Key);
     BTreeUtils.Write(w, Value);
 }