fn weightToBitCount(weight: u4, max_bit_count: u4) u4

Parameters

weight: u4,
max_bit_count: u4,