jellyfin/MediaBrowser.Model/IO/IODefaults.cs

26 lines
621 B
C#
Raw Normal View History

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