Less string allocations

This commit is contained in:
Bond_009
2019-02-09 11:53:07 +01:00
committed by Bond-009
parent da9418c1b2
commit 8d98885cda
8 changed files with 76 additions and 36 deletions

View File

@@ -14,6 +14,14 @@ namespace MediaBrowser.Model.Serialization
/// <exception cref="ArgumentNullException">obj</exception>
void SerializeToStream(object obj, Stream stream);
/// <summary>
/// Serializes to stream.
/// </summary>
/// <param name="obj">The obj.</param>
/// <param name="stream">The stream.</param>
/// <exception cref="ArgumentNullException">obj</exception>
void SerializeToStream<T>(T obj, Stream stream);
/// <summary>
/// Serializes to file.
/// </summary>