title: Get index of a 1 in a bitarray?
body: <p>Friends, who know how can I get an index of a 1  in a Bitarray and push it to an array. some functions or something else</p>
  
  <p>I have an Uint16 , here I want to read bits from this variable and get indexes of 1 and put it to an array or list</p>