ZstdSharp
ZstdSharp copied to clipboard
Unity 2022.3.19,Cannot resolve symbol 'Shared'
IL2CPP .Net Fromework
outputBuffer = ArrayPool<byte>.Shared.Rent(outputBufferSize);
Unity Console error output
error CS0117: 'ArrayPool<byte>' does not contain a definition for 'Shared'
ArrayPool<byte>
is contained in System.Buffers package
You need to use the System.Buffers nuget package to add ArrayPool.Shared
to the .NET Framework