Editor/Embedded/ZstdSharp/Unsafe/ZSTD_outBuffer_s.cs

This file defines a C# structure used for managing output buffers when interfacing with the ZstdSharp compression library. The struct holds a pointer to the destination memory, the total allocated buffer size, and the current writing position.

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

    public unsafe struct ZSTD_outBuffer_s
    {
        /**< start of output buffer */
        public void* dst;
        /**< size of output buffer */
        public nuint size;
        /**< position where writing stopped. Will be updated. Necessarily 0 <= pos <= size */
        public nuint pos;
    }