headerToBytes

abstract fun headerToBytes(header: BackupHeader): ByteArray

Converts a BackupHeader into a byte buffer format, which can be stored in the beginning of a Backup file.