You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using var compressedStream = new MemoryStream();
using (var compressionStream = new CompressionStream(compressedStream, CompressionAlgorithm.Brotli, true))
{
compressionStream.Write(data);
}
Expected Behavior
Builds and works
Actual Behavior
Doesn't build
Workaround
using (var compressionStream = new CompressionStream(compressedStream, (CompressionAlgorithm)0xb02, true))
Environment
.NET 8
The text was updated successfully, but these errors were encountered:
Adding Brotli is easy, but Lzbitmap is a bit more work, because according to the documentation it only works with the compression_encode_buffer and compression_decode_buffer functions, which we haven't bound yet.
Compression.CompressionAlgorithm enum is missing BROTLI + LZBITMAP
xamarin-macios/src/Compression/Enums.cs
Lines 9 to 15 in 87953ed
Steps to Reproduce
Expected Behavior
Builds and works
Actual Behavior
Doesn't build
Workaround
using (var compressionStream = new CompressionStream(compressedStream, (CompressionAlgorithm)0xb02, true))
Environment
.NET 8
The text was updated successfully, but these errors were encountered: