A small unsafe struct mapping of Zstandard FSE sequence state used by an embedded ZstdSharp library in the Editor. It contains bitstream state, three FSE states for literal/offset/matchlength, and a fixed-size previous-offset buffer with three native-sized entries.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
namespace HumanoidRetargeter.EditorTools.Embedded.ZstdSharp.Unsafe;
public unsafe struct seqState_t
{
public BIT_DStream_t DStream;
public ZSTD_fseState stateLL;
public ZSTD_fseState stateOffb;
public ZSTD_fseState stateML;
public _prevOffset_e__FixedBuffer prevOffset;
public unsafe struct _prevOffset_e__FixedBuffer
{
public nuint e0;
public nuint e1;
public nuint e2;
}
}