package
0.5.0
Repository: https://github.com/anmil/quicknote.git
Documentation: pkg.go.dev

# Functions

NewBinaryDecoder returns a new BinaryDecoder.
NewBinaryEncoder returns a new BinaryEncoder.

# Variables

List of record types.
CurrentVersion the current format version used for encoding and decoding.
ErrBookNoteFound indicates that the parser encountered a Note record that referenced a Book the parse has not parsed yet.
ErrHeaderNotParsed indicates that the Header was not read before attempting to read a record.
ErrHeaderNotWritten indicates that the Header was not written before attempting to write a record.
ErrInvalidOrCorruptedBinaryFormat indicates that parser encountered an problem with the QNOT stream and is unable to continue.
ErrInvalidRecordType indicates a invalid record was encountered.
ErrInvalidString indicates the parser encountered a string that does not meets the requirements of Entity's field (such as a string was to long).
ErrTagNoteFound indicates that the parser encountered a Note record that referenced a Tag the parse has not parsed yet.
HeaderLen length of the header block.
MagicStr binary magic string.
List of record types.
List of record types.

# Structs

BinaryDecoder Decodes a QNOT file into a list of Notes.
BinaryEncoder encodes a Note into the QNOT format.
Header QNOT file header block.

# Type aliases

RecordType byte indicating the type of record.