Class EmbeddedBinaryDirective


  • public class EmbeddedBinaryDirective
    extends Directive
    Embed an binary file into a BASIC program. See writeup in the README-TOKENIZER.md file.
    • Constructor Detail

      • EmbeddedBinaryDirective

        public EmbeddedBinaryDirective​(Configuration config,
                                       java.io.OutputStream outputStream)
    • Method Detail

      • writeBytes

        public void writeBytes​(int startAddress,
                               Line line)
                        throws java.io.IOException
        Description copied from class: Directive
        Write directive contents to output file. Note that address is adjusted for the line header already.
        Specified by:
        writeBytes in class Directive
        Throws:
        java.io.IOException