ZLibEncoder.TryCompress Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32) | |
| TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32) | |
| TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Int32) |
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32)
- Bron:
- ZLibEncoder.cs
public:
static bool TryCompress(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryCompress(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member TryCompress : ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryCompress (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean
Parameters
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Retouren
Van toepassing op
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32)
- Bron:
- ZLibEncoder.cs
public:
static bool TryCompress(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten, int quality);
public static bool TryCompress(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten, int quality);
static member TryCompress : ReadOnlySpan<byte> * Span<byte> * int * int -> bool
Public Shared Function TryCompress (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer, quality As Integer) As Boolean
Parameters
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
Retouren
Van toepassing op
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Int32)
- Bron:
- ZLibEncoder.cs
public:
static bool TryCompress(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten, int quality, int windowLog);
public static bool TryCompress(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten, int quality, int windowLog);
static member TryCompress : ReadOnlySpan<byte> * Span<byte> * int * int * int -> bool
Public Shared Function TryCompress (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer, quality As Integer, windowLog As Integer) As Boolean
Parameters
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
- windowLog
- Int32