1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2024-11-25 07:42:56 +01: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);
}
}