Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2019-02-04 16:41:55 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-02-04 16:41:55 +0300
commit594abfeec03af5b6f82fb960934b9c92ae9088cb (patch)
treea717b7968afaae5ef5eaaca28787252750426998 /profiles/monotouch
parent6d99111390d0466cd86f73ec1e8cf3f7d1a64350 (diff)
Apply changes from https://github.com/mono/mono/pull/12189 to API snapshot
Diffstat (limited to 'profiles/monotouch')
-rw-r--r--profiles/monotouch/System.IO.Compression.cs53
1 files changed, 53 insertions, 0 deletions
diff --git a/profiles/monotouch/System.IO.Compression.cs b/profiles/monotouch/System.IO.Compression.cs
index 3595c72..797c539 100644
--- a/profiles/monotouch/System.IO.Compression.cs
+++ b/profiles/monotouch/System.IO.Compression.cs
@@ -15,12 +15,65 @@
[assembly:System.Reflection.AssemblyTitleAttribute("System.IO.Compression.dll")]
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
+[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.CompressionLevel))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.CompressionMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.DeflateStream))]
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.GZipStream))]
namespace System.IO.Compression
{
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public partial struct BrotliDecoder : System.IDisposable
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ public System.Buffers.OperationStatus Decompress(System.ReadOnlySpan<byte> source, System.Span<byte> destination, out int bytesConsumed, out int bytesWritten) { throw null; }
+ public void Dispose() { }
+ public static bool TryDecompress(System.ReadOnlySpan<byte> source, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public partial struct BrotliEncoder : System.IDisposable
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ public BrotliEncoder(int quality, int window) { throw null; }
+ public System.Buffers.OperationStatus Compress(System.ReadOnlySpan<byte> source, System.Span<byte> destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock) { throw null; }
+ public void Dispose() { }
+ public System.Buffers.OperationStatus Flush(System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public static int GetMaxCompressedLength(int length) { throw null; }
+ public static bool TryCompress(System.ReadOnlySpan<byte> source, System.Span<byte> destination, out int bytesWritten) { throw null; }
+ public static bool TryCompress(System.ReadOnlySpan<byte> source, System.Span<byte> destination, out int bytesWritten, int quality, int window) { throw null; }
+ }
+ public sealed partial class BrotliStream : System.IO.Stream
+ {
+ public BrotliStream(System.IO.Stream stream, System.IO.Compression.CompressionLevel compressionLevel) { }
+ public BrotliStream(System.IO.Stream stream, System.IO.Compression.CompressionLevel compressionLevel, bool leaveOpen) { }
+ public BrotliStream(System.IO.Stream stream, System.IO.Compression.CompressionMode mode) { }
+ public BrotliStream(System.IO.Stream stream, System.IO.Compression.CompressionMode mode, bool leaveOpen) { }
+ public System.IO.Stream BaseStream { get { throw null; } }
+ public override bool CanRead { get { throw null; } }
+ public override bool CanSeek { get { throw null; } }
+ public override bool CanWrite { get { throw null; } }
+ public override long Length { get { throw null; } }
+ public override long Position { get { throw null; } set { } }
+ public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState) { throw null; }
+ public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState) { throw null; }
+ protected override void Dispose(bool disposing) { }
+ public override int EndRead(System.IAsyncResult asyncResult) { throw null; }
+ public override void EndWrite(System.IAsyncResult asyncResult) { }
+ public override void Flush() { }
+ public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override int Read(byte[] buffer, int offset, int count) { throw null; }
+ public override int Read(System.Span<byte> buffer) { throw null; }
+ public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override System.Threading.Tasks.ValueTask<int> ReadAsync(System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; }
+ public override void SetLength(long value) { }
+ public override void Write(byte[] buffer, int offset, int count) { }
+ public override void Write(System.ReadOnlySpan<byte> buffer) { }
+ public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
public partial class ZipArchive : System.IDisposable
{
public ZipArchive(System.IO.Stream stream) { }