1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2024-10-17 03:42:47 +02:00
Brotli-Builder/BrotliLib/Serialization/NoContext.cs

9 lines
372 B
C#

namespace BrotliLib.Serialization{
/// <summary>
/// Utility to use as the context type parameter in <see cref="BitSerializer{T, C}"/> and <see cref="BitDeserializer{T, C}"/>, to disallow passing null as a "no context" parameter.
/// </summary>
public readonly struct NoContext{
public static readonly NoContext Value = new NoContext();
}
}