lib/riddle/client/response.rb in riddle-0.9.8.1198 vs lib/riddle/client/response.rb in riddle-0.9.8.1198.1
- old
+ new
@@ -63,9 +63,19 @@
end
return items
end
+ def next_float_array
+ count = next_int
+ items = []
+ for i in 0...count
+ items << self.next_float
+ end
+
+ return items
+ end
+
# Returns the length of the streamed data
def length
@str.length
end
end
\ No newline at end of file