DoxigAlpha

flush

Function parameters

Parameters

#
self:*Simple

Type definitions in this namespace

Types

#
Level
Trades between speed and compression size.

Functions in this namespace

Functions

#

Number of tokens to accumulate in deflate before starting block encoding.

Values

#
n_tokens
Number of tokens to accumulate in deflate before starting block encoding.

Source

Implementation

#
pub fn flush(self: *Simple) !void {
    try self.flushBuffer(false);
    try self.block_writer.storedBlock("", false);
    try self.block_writer.flush();
}