예제 #1
0
 public object BufferToObject(ReadOnlySpan <byte> buffer, Type type, ITypeResolver typeResolver,
                              IReadObjectSink emitter = null)
 {
     return(Wire.BufferToObject(buffer, type, typeResolver, emitter));
 }
예제 #2
0
 public T BufferToObject <T>(ReadOnlySpan <byte> buffer, ITypeResolver typeResolver,
                             IReadObjectSink emitter = null)
 {
     return((T)BufferToObject(buffer, typeof(T), typeResolver, emitter));
 }