diff --git a/src/Usmap.NET/Usmap.NET.csproj b/src/Usmap.NET/Usmap.NET.csproj
index 3d3d9ad..0625dc1 100644
--- a/src/Usmap.NET/Usmap.NET.csproj
+++ b/src/Usmap.NET/Usmap.NET.csproj
@@ -40,6 +40,7 @@
+
diff --git a/src/Usmap.NET/Usmap.cs b/src/Usmap.NET/Usmap.cs
index 7f68536..752873c 100644
--- a/src/Usmap.NET/Usmap.cs
+++ b/src/Usmap.NET/Usmap.cs
@@ -4,6 +4,7 @@
using System.Text;
using GenericReader;
+using ZstdSharp;
using Microsoft.Win32.SafeHandles;
@@ -169,7 +170,8 @@ public static Usmap Parse(ref TReader usmapReader, UsmapOptions? option
}
case EUsmapCompressionMethod.ZStandard:
{
- throw new FileLoadException($"Unsupported .usmap compression: {(int)EUsmapCompressionMethod.ZStandard} (Zstandard)");
+ var decompressor = new Decompressor();
+ uncompressedData = decompressor.Unwrap(compressedSpan, uncompressedSize).ToArray();
}
default:
throw new UnreachableException();