class IOUnpack::Directive

Public Instance Methods

*(repeat) click to toggle source
# File lib/iounpack.rb, line 11
def * repeat
  if bytelen.respond_to? :call
    bytelen[ repeat]
  else
    bytelen * repeat
  end
end