Editor/Embedded/ZstdSharp/Unsafe/ZSTD_frameHeader.cs

A plain struct definition representing Zstandard frame header fields used by the embedded ZstdSharp unsafe interop layer. It declares various numeric fields: frameContentSize, windowSize, blockSizeMax, frameType, headerSize, dictID, checksumFlag and reserved padding.

Native Interop
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
namespace HumanoidRetargeter.EditorTools.Embedded.ZstdSharp.Unsafe;

    public struct ZSTD_frameHeader
    {
        /* if == ZSTD_CONTENTSIZE_UNKNOWN, it means this field is not available. 0 means "empty" */
        public ulong frameContentSize;
        /* can be very large, up to <= frameContentSize */
        public ulong windowSize;
        public uint blockSizeMax;
        /* if == ZSTD_skippableFrame, frameContentSize is the size of skippable content */
        public ZSTD_frameType_e frameType;
        public uint headerSize;
        /* for ZSTD_skippableFrame, contains the skippable magic variant [0-15] */
        public uint dictID;
        public uint checksumFlag;
        public uint _reserved1;
        public uint _reserved2;
    }