type Journal
import bend-kit-journal@0.3.1.0/journal.bend as Journalimport Base
306# An open journal. max caps a record's length. end is the file's length. ok turns False when an
307# append fails: what reached the disk is then unknown, so appends stop until the journal is reopened.
308type Journal is Type:
309 Journal{file: File, max: U32, end: U32, ok: Bool}