jellyfin-server/MediaBrowser.Model/IO/IODefaults.cs

26 lines
621 B
C#
Raw Normal View History

2020-08-07 18:48:32 +00:00
using System.IO;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.IO
{
/// <summary>
2020-01-08 16:52:50 +00:00
/// Class IODefaults.
2018-12-27 23:27:57 +00:00
/// </summary>
2020-01-08 16:52:50 +00:00
public static class IODefaults
2018-12-27 23:27:57 +00:00
{
/// <summary>
2019-09-10 20:37:53 +00:00
/// The default copy to buffer size.
2018-12-27 23:27:57 +00:00
/// </summary>
2020-01-08 16:52:50 +00:00
public const int CopyToBufferSize = 81920;
2018-12-27 23:27:57 +00:00
/// <summary>
2019-09-10 20:37:53 +00:00
/// The default file stream buffer size.
2018-12-27 23:27:57 +00:00
/// </summary>
2020-01-08 16:52:50 +00:00
public const int FileStreamBufferSize = 4096;
2020-08-07 17:48:52 +00:00
/// <summary>
2020-08-07 18:48:32 +00:00
/// The default <see cref="StreamWriter" /> buffer size.
2020-08-07 17:48:52 +00:00
/// </summary>
public const int StreamWriterBufferSize = 1024;
2018-12-27 23:27:57 +00:00
}
}