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.
756 757 758 759 760 |
# File 'lib/fisk.rb', line 756 def to_binary(metadata: {}) io = StringIO.new ''.b write_to io, metadata: io.string end |