DeflateEncoder.TryCompress Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| 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)
- Origem:
- 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
Parâmetros
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Devoluções
Aplica-se a
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32)
- Origem:
- 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
Parâmetros
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
Devoluções
Aplica-se a
TryCompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Int32)
- Origem:
- 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
Parâmetros
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- quality
- Int32
- windowLog
- Int32