cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
Sinfo read_dividlen( ByteBuffer buf, int offset  )
    {
        byte[] b2 = new byte[2];
        byte[] b4 = new byte[4];
        short D_divider;
        short D_id;
        Short tShort ;

        buf.position(offset);
        buf.get(b2, 0, 2);
        tShort = (Short)convert(b2, DataType.SHORT, -1);
        D_divider  = tShort.shortValue();
        buf.get(b2, 0, 2);
        D_id  = (short)getInt(b2, 2);
        buf.get(b4, 0, 4);
        block_length  = getInt(b4, 4);
        buf.get(b2, 0, 2);
        number_layers  = (short)getInt(b2, 2);

        return new Sinfo ( D_divider, D_id, block_length, number_layers);
    }
Sinfo read_dividlen( ByteBuffer buf, int offset  )
    {
        byte[] b2 = new byte[2];
        byte[] b4 = new byte[4];
        short D_divider;
        short D_id;
        Short tShort ;

        buf.position(offset);
        buf.get(b2, 0, 2);
        tShort = (Short)convert(b2, DataType.SHORT, -1);
        D_divider  = tShort.shortValue();
        buf.get(b2, 0, 2);
        D_id  = (short)getInt(b2, 2);
        buf.get(b4, 0, 4);
        block_length  = getInt(b4, 4);
        buf.get(b2, 0, 2);
        number_layers  = (short)getInt(b2, 2);

        return new Sinfo ( D_divider, D_id, block_length, number_layers);
    }
Sinfo read_dividlen ( ByteBuffer buf , int offset ) { byte [ ] b2 = new byte [ 2 ] ; byte [ ] b4 = new byte [ 4 ] ; short D_divider ; short D_id ; Short tShort ; buf . position ( offset ) ; buf . get ( b2 , 0 , 2 ) ; tShort = ( Short ) convert ( b2 , DataType . SHORT , - 1 ) ; D_divider = tShort . shortValue ( ) ; buf . get ( b2 , 0 , 2 ) ; D_id = ( short ) getInt ( b2 , 2 ) ; buf . get ( b4 , 0 , 4 ) ; block_length = getInt ( b4 , 4 ) ; buf . get ( b2 , 0 , 2 ) ; number_layers = ( short ) getInt ( b2 , 2 ) ; return new Sinfo ( D_divider , D_id , block_length , number_layers ) ; }
/*
* Name:       read_dividlen
*
* Purpose:    Read divider ID header from NEXRAD Level III product
*
/ * * Name : read_dividlen * * Purpose : Read divider ID header from NEXRAD Level III product *