ZstandardDecoder.TryDecompress Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| Имя | Описание |
|---|---|
| TryDecompress(ReadOnlySpan<Byte>, Span<Byte>, Int32) | |
| TryDecompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, ZstandardDictionary) |
TryDecompress(ReadOnlySpan<Byte>, Span<Byte>, Int32)
- Исходный код:
- ZstandardDecoder.cs
public:
static bool TryDecompress(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryDecompress(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member TryDecompress : ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryDecompress (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean
Параметры
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Возвращаемое значение
Применяется к
TryDecompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, ZstandardDictionary)
- Исходный код:
- ZstandardDecoder.cs
public:
static bool TryDecompress(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten, System::IO::Compression::ZstandardDictionary ^ dictionary);
public static bool TryDecompress(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten, System.IO.Compression.ZstandardDictionary dictionary);
static member TryDecompress : ReadOnlySpan<byte> * Span<byte> * int * System.IO.Compression.ZstandardDictionary -> bool
Public Shared Function TryDecompress (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer, dictionary As ZstandardDictionary) As Boolean
Параметры
- source
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
- dictionary
- ZstandardDictionary