Companion

object Companion

Properties

Link copied to clipboard
const val HEADER_SIZE: Long = 1024

The total amount of bytes reserved for the header in the beginning of the file. Although the current fields occupy just around 100 bytes, we choose to reserve the first 1024 bytes for the header. This way we can add extra fields in the future without breaking the format and requiring a file format version bump.