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