dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DSP.java
protected void
    build(String document, byte[] serialdata, ByteOrder order)
            throws DapException
    {
        DapDataset dmr = parseDMR(document);

        if(DEBUG || DUMPDMR) {
            System.err.println("\n+++++++++++++++++++++");
            System.err.println(dmr);
            System.err.println("+++++++++++++++++++++\n");
        }
        if(DEBUG || DUMPDAP) {
            ByteBuffer data = ByteBuffer.wrap(serialdata);
            System.err.println("+++++++++++++++++++++");
            System.err.println("\n---------------------");
            DapDump.dumpbytes(data, false);
            System.err.println("\n---------------------\n");
        }
        build(dmr, serialdata, order);
    }
protected void
    build(String document, byte[] serialdata, ByteOrder order)
            throws DapException
    {
        DapDataset dmr = parseDMR(document);

        if(DEBUG || DUMPDMR) {
            System.err.println("\n+++++++++++++++++++++");
            System.err.println(dmr);
            System.err.println("+++++++++++++++++++++\n");
        }
        if(DEBUG || DUMPDAP) {
            ByteBuffer data = ByteBuffer.wrap(serialdata);
            System.err.println("+++++++++++++++++++++");
            System.err.println("\n---------------------");
            DapDump.dumpbytes(data, false);
            System.err.println("\n---------------------\n");
        }
        build(dmr, serialdata, order);
    }
protected void build ( String document , byte [ ] serialdata , ByteOrder order ) throws DapException { DapDataset dmr = parseDMR ( document ) ; if ( DEBUG || DUMPDMR ) { System . err . println ( "\n+++++++++++++++++++++" ) ; System . err . println ( dmr ) ; System . err . println ( "+++++++++++++++++++++\n" ) ; } if ( DEBUG || DUMPDAP ) { ByteBuffer data = ByteBuffer . wrap ( serialdata ) ; System . err . println ( "+++++++++++++++++++++" ) ; System . err . println ( "\n---------------------" ) ; DapDump . dumpbytes ( data , false ) ; System . err . println ( "\n---------------------\n" ) ; } build ( dmr , serialdata , order ) ; }
Compilation
Compilation