mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-18 11:29:18 -07:00
13 lines
305 B
C#
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);
|
|
}
|
|
}
|