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