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