...So there's a `struct` with 64-bit mask with N b...
# random
a
...So there's a
struct
with 64-bit mask with N bits set, then 32-bit mask with M bits set, then (N*M)-bit mask with K bits set, then K records. And now I can declare them with
Copy code
val gnss_sat_mask_def = DF394()
	val gnss_sig_mask_def = DF395()
	val gnss_cell_mask_def = DF396(gnss_sat_mask_def, gnss_sig_mask_def)
	val phr_fine_def = DF401array(gnss_cell_mask_def)
in
object
and as
Copy code
var gnss_sat_mask: BitSet by def.gnss_sat_mask_def
	var gnss_sig_mask: BitSet by def.gnss_sig_mask_def
	var gnss_cell_mask: BitSet by def.gnss_cell_mask_def
	var phr_fine: DoubleArray by def.phr_fine_def
in
class
then init it with
ByteBuffer
and read/write any sub-sub-field no matter how deep it is buried. With a simple getter/setter