BrotliEncoder.Flush(Span<Byte>, Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compresses an empty read-only span of bytes into its destination, which ensures that output is produced for all the processed input. An actual flush is performed when the source is depleted and there is enough space in the destination for the remaining data.
public:
System::Buffers::OperationStatus Flush(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public System.Buffers.OperationStatus Flush(Span<byte> destination, out int bytesWritten);
member this.Flush : Span<byte> * int -> System.Buffers.OperationStatus
Public Function Flush (destination As Span(Of Byte), ByRef bytesWritten As Integer) As OperationStatus
When this method returns, a span of bytes where the compressed data will be stored.
- bytesWritten
- Int32
When this method returns, the total number of bytes that were written to destination
.
One of the enumeration values that describes the status with which the operation finished.
Продукт | Версии |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: