1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2024-10-17 12:42:47 +02:00
Brotli-Builder/BrotliLib/Brotli/Dictionary/Source/IDictionarySource.cs

14 lines
457 B
C#

using System;
namespace BrotliLib.Brotli.Dictionary.Source{
/// <summary>
/// Provides a way to read bytes from a representation of the dictionary.
/// </summary>
public interface IDictionarySource : IDisposable{
/// <summary>
/// Reads <paramref name="count"/> bytes from the source, starting at the provided <paramref name="position"/>.
/// </summary>
byte[] ReadBytes(int position, int count);
}
}