Editor/Embedded/ZstdSharp/Unsafe/Methods.Zdict.cs

Part of an unsafe interop wrapper for Zstandard dictionary functions, providing thin helpers to check error codes and get error names by delegating to ERR_* helper functions in the same unsafe helper module.

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

namespace HumanoidRetargeter.EditorTools.Embedded.ZstdSharp.Unsafe;

    public static unsafe partial class Methods
    {
        /*-********************************************************
         *  Helper functions
         **********************************************************/
        public static bool ZDICT_isError(nuint errorCode)
        {
            return ERR_isError(errorCode);
        }

        public static string ZDICT_getErrorName(nuint errorCode)
        {
            return ERR_getErrorName(errorCode);
        }
    }