lib/ladder_drive/uploader.rb in ladder_drive-0.3.1 vs lib/ladder_drive/uploader.rb in ladder_drive-0.4.0
- old
+ new
@@ -53,10 +53,10 @@
end
def word_data
data.each_slice(2).map do |pair|
pair << 0 if pair.size == 1
- pair.pack("c*").unpack("n*")
+ pair.pack("C*").unpack("n*")
end.flatten
end
private