int kind is followed by this struct
bits: u8,
unused: u8,
offset: u8,
encoding: enum(u4) { signed = 1 << 0, char = 1 << 1, boolean = 1 << 2, _, },