A small unsafe struct used by the embedded ZstdSharp Huffman table reader workspace in the Editor build. It defines fixed-size buffers and inline array structs for temporary storage used when building or reading HUF decode tables.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace HumanoidRetargeter.EditorTools.Embedded.ZstdSharp.Unsafe;
public unsafe struct HUF_ReadDTableX2_Workspace
{
public _rankVal_e__FixedBuffer rankVal;
public fixed uint rankStats[13];
public fixed uint rankStart0[15];
public _sortedSymbol_e__FixedBuffer sortedSymbol;
public fixed byte weightList[256];
public fixed uint calleeWksp[219];
[InlineArray(12)]
public unsafe struct _rankVal_e__FixedBuffer
{
public rankValCol_t e0;
}
[InlineArray(256)]
public unsafe struct _sortedSymbol_e__FixedBuffer
{
public sortedSymbol_t e0;
}
}