📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
669 B

// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Diagnostics;
namespace SixLabors.ImageSharp.Formats.WebP.Lossless
{
/// <summary>
/// Holds the tree header in coded form.
/// </summary>
[DebuggerDisplay("Code = {Code}, ExtraBits = {ExtraBits}")]
internal class HuffmanTreeToken
{
/// <summary>
/// Gets or sets the code. Value (0..15) or escape code (16, 17, 18).
/// </summary>
public byte Code { get; set; }
/// <summary>
/// Gets or sets the extra bits for escape codes.
/// </summary>
public byte ExtraBits { get; set; }
}
}