class Integer
Public Instance Methods
to_eight_buffer()
click to toggle source
# File lib/fastdfs-client/extend_core.rb, line 30 def to_eight_buffer 8.times.map{|i| (self >> (56 - 8 * i)) & 255} end
# File lib/fastdfs-client/extend_core.rb, line 30 def to_eight_buffer 8.times.map{|i| (self >> (56 - 8 * i)) & 255} end