ZLibEncoder.TryCompress Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| 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)
- Zdroj:
- 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
Parametry
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Návraty
Platí pro
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32)
- Zdroj:
- 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
Parametry
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
Návraty
Platí pro
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Int32)
- Zdroj:
- 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
Parametry
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
- windowLog
- Int32