DeflateEncoder.TryCompress Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| 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)
- Origine:
- DeflateEncoder.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
Parametri
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Valori restituiti
Si applica a
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32)
- Origine:
- DeflateEncoder.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
Parametri
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
Valori restituiti
Si applica a
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Int32)
- Origine:
- DeflateEncoder.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
Parametri
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
- windowLog
- Int32