mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 06:17:14 -04: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);
|
|
}
|
|
}
|