public static string GetPackedExtension()

in Core/src/Impl/PathUtil.cs [20:28]


    public static string GetPackedExtension(ReadOnlySpan<char> ext)
    {
      if (!ext.StartsWith('.'))
        throw new Exception("Invalid extension format");
      if (ext.Length < 1)
        throw new Exception("At least one symbol in extension is expected");
      
      return string.Concat(ext.Slice(0, ext.Length - 1), "_".AsSpan());
    }