lib/bindata/primitive.rb in bindata-1.2.1 vs lib/bindata/primitive.rb in bindata-1.2.2
- old
+ new
@@ -93,10 +93,10 @@
def sensible_default
get
end
def read_and_return_value(io)
- @struct.read(io)
+ @struct.do_read(io)
get
end
def value_to_binary_string(val)
set(val)