code: def _take_bits(buf, count):
      
  
      # TODO: Verify output
      bytes_count = (count + 7) // 8
      bytes_mod = count % 8
      data = _unpack_from(buf, 'B', bytes_count)
      values = []
      for i, byte in enumerate(data):
          for _ in range(8 if i != bytes_count - 1 else bytes_mod):
              # TODO: Convert to True / False
              values.append(byte & 0b10000000)
              byte <<= 1
      return values
docs: Return the booleans that were packed into bytes.