lib/ordered_list/position.rb
def trailing_bit_offset
      byte = bytestr[-1].ord
      8.times do |i|
        return i if byte[i] == 1
      end
    end
# Offset of the trailing one bit in the last byte from the right.
Offset of the trailing one bit in the last byte from the right.
Offset of the trailing one bit in the last byte from the right .
def trailing_bit_offset
      byte = bytestr[-1].ord
      8.times do |i|
        return i if byte[i] == 1
      end
    end
def trailing_bit_offset byte = bytestr [ - 1 ] . ord 8 . times do | i | return i if byte [ i ] == 1 end end
Offset of the trailing one bit in the last byte from the right.
Offset of the trailing one bit in the last byte from the right .