Method: Fisk#to_binary

Defined in:
lib/fisk.rb

#to_binary(metadata: {}) ⇒ Object

Encodes all instructions and returns a binary string with the encoded instructions.



788
789
790
791
792
# File 'lib/fisk.rb', line 788

def to_binary(metadata: {})
  io = StringIO.new ''.b
  write_to io, metadata: 
  io.string
end