# File lib/rubytorrent/peer.rb, line 53 def to_barray self.map_bytes do |b| (0 .. 7).map { |i| (b & (1 << (7 - i))) != 0 } end.flatten end