Class: Depix::ImageInfo

Inherits:
Binary::Structure show all
Defined in:
lib/depix/structs.rb

Constant Summary

Constants inherited from Binary::Structure

Binary::Structure::DEF_OPTS

Instance Method Summary collapse

Methods inherited from Binary::Structure

#[], #[]=, apply!, apply_le!, array, blanking, byteify_string, char, const_missing, consume!, fields, filler, inner, length, only, pack, pattern, pattern_le, r32, u16, u32, u8, validate!

Instance Method Details

#image_elementsObject

Only expose the elements present



129
130
131
# File 'lib/depix/structs.rb', line 129

def image_elements #:nodoc:
  @image_elements[0...number_elements]
end