dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java
protected int
    extractChecksum(ByteBuffer data)
            throws DapException
    {
        assert ChecksumMode.DAP.enabled(this.checksummode);
        if(data.remaining() < DapUtil.CHECKSUMSIZE)
            throw new DapException("Short serialization: missing checksum");
        return data.getInt();
    }
protected int
    extractChecksum(ByteBuffer data)
            throws DapException
    {
        assert ChecksumMode.DAP.enabled(this.checksummode);
        if(data.remaining() < DapUtil.CHECKSUMSIZE)
            throw new DapException("Short serialization: missing checksum");
        return data.getInt();
    }
protected int extractChecksum ( ByteBuffer data ) throws DapException { assert ChecksumMode . DAP . enabled ( this . checksummode ) ; if ( data . remaining ( ) < DapUtil . CHECKSUMSIZE ) throw new DapException ( "Short serialization: missing checksum" ) ; return data . getInt ( ) ; }
Utilities
Utilities