lib/bindata/framework.rb in bindata-2.2.0 vs lib/bindata/framework.rb in bindata-2.3.0
- old
+ new
@@ -45,9 +45,14 @@
# by objects that contain child objects.
def offset_of(child) #:nodoc:
0
end
+ # Is this object aligned on non-byte boundaries?
+ def bit_aligned?
+ false
+ end
+
# Reads the data for this data object from +io+.
def do_read(io) #:nodoc:
raise NotImplementedError
end