Ejemplo n.º 1
0
 public object BufferToObject(ReadOnlySpan <byte> buffer, Type type, ITypeResolver typeResolver,
                              IReadObjectSink emitter = null)
 {
     return(Wire.BufferToObject(buffer, type, typeResolver, emitter));
 }
Ejemplo n.º 2
0
 public ReadOnlySpan <byte> ToBuffer(object instance, ITypeResolver typeResolver)
 {
     return(Wire.ObjectToBuffer(instance, typeResolver));
 }