cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
int IsEncrypt( byte[] buf )
    {
        /*
        ** These tests were deduced from inspection from encrypted NOAAPORT files.
        */
        String b = new String(buf, CDM.utf8Charset);
        if ( b.startsWith("R3") ) {
        return 1;
        }

        return 0;
    }
int IsEncrypt( byte[] buf )
    {
        /*
        ** These tests were deduced from inspection from encrypted NOAAPORT files.
        */
        String b = new String(buf, CDM.utf8Charset);
        if ( b.startsWith("R3") ) {
        return 1;
        }

        return 0;
    }
int IsEncrypt ( byte [ ] buf ) { /*
        ** These tests were deduced from inspection from encrypted NOAAPORT files.
        */ String b = new String ( buf , CDM . utf8Charset ) ; if ( b . startsWith ( "R3" ) ) { return 1 ; } return 0 ; }
/*
* Name:       IsEncrypt
*
* Purpose:    Check a two-byte sequence to see if it indicates the start of
*             an encrypted image.
*
/ * * Name : IsEncrypt * * Purpose : Check a two - byte sequence to see if it indicates the start of * an encrypted image . *