예제 #1
0
 public void Write(IBufferWriter <byte> bufferWriter, T value)
 // ReSharper disable once HeapView.PossibleBoxingAllocation
 => UntypedSerializer.Write(bufferWriter, value, SerializedType);
예제 #2
0
 public string Write(T value)
 // ReSharper disable once HeapView.PossibleBoxingAllocation
 => UntypedSerializer.Write(value, SerializedType);
예제 #3
0
 public T Read(ReadOnlyMemory <byte> data)
 => (T)UntypedSerializer.Read(data, SerializedType) !;
예제 #4
0
 public T Read(string data)
 => (T)UntypedSerializer.Read(data, SerializedType) !;