mirror of
https://github.com/chylex/Brotli-Builder.git
synced 2024-12-23 01:42:46 +01:00
11 lines
401 B
C#
11 lines
401 B
C#
using System.IO;
|
|
|
|
namespace BrotliLib.Brotli.Dictionary.Source{
|
|
/// <summary>
|
|
/// Reads dictionary words from a file, which will stay open and block write access until disposed.
|
|
/// </summary>
|
|
public sealed class OpenFileSource : StreamSource{
|
|
public OpenFileSource(string filePath) : base(new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.Read)){}
|
|
}
|
|
}
|