public static Reader <T> CreateReader <T>(TypeImpl type) { var method = Readers.GetOrAdd(type, CreateReaderMethod); return(MethodAdapter.CastReader <T>(method, type)); }
public static Writer <T> CreateWriter <T>(Type type) { var method = Writers.GetOrAdd(type, CreateWriterMethod); return(MethodAdapter.CastWriter <T>(method, type)); }