Exemple #1
0
 public override void BindType <T>(ref Type type)
 {
     writer.WriteUShort(TypeRWHelper.GetTypeIndex(type, typeof(T)));
 }
 public override void BindType <T>(ref Type type)
 {
     type = TypeRWHelper.GetType(reader.ReadUShort(), typeof(T));
 }