Function finish [src]

Prototype

pub fn finish(self: *Simple) !void

Parameters

self: *Simple

Source

pub fn finish(self: *Simple) !void { try self.flushBuffer(true); try self.block_writer.flush(); try self.hasher.container().writeFooter(&self.hasher, self.block_writer.output); }