public object Load(uint typeId, AbstractBufferedReader reader, ITypeBinaryDeserializerContext context) { var infoForType = _id2DescriptorMap[(int)typeId]; if (infoForType.Loader == null) { infoForType.Loader = _typeSerializers.GetLoader(infoForType.Descriptor); } return(infoForType.Loader(reader, context, this, infoForType.Descriptor)); }
public object Load(uint typeId, ref SpanReader reader, ITypeBinaryDeserializerContext?context) { var infoForType = _id2DescriptorMap[typeId]; if (infoForType !.Loader == null) { infoForType.Loader = _typeSerializers.GetLoader(infoForType.Descriptor); } return(infoForType.Loader(ref reader, context, this, infoForType.Descriptor)); }