jellyfin/MediaBrowser.Model/IO/IMemoryStreamFactory.cs
2016-11-08 13:44:23 -05:00

13 lines
305 B
C#

using System.IO;
namespace MediaBrowser.Model.IO
{
public interface IMemoryStreamFactory
{
MemoryStream CreateNew();
MemoryStream CreateNew(int capacity);
MemoryStream CreateNew(byte[] buffer);
bool TryGetBuffer(MemoryStream stream, out byte[] buffer);
}
}