public final static int readExtendedMediumInt(ByteBuffer in) {
        int result = in.getInt();
        result = (result >>> 8) | ((result & 0x000000ff) << 24);
        return result;
    }
public final static int readExtendedMediumInt ( ByteBuffer in ) { int result = in . getInt ( ) ; result = ( result > > > 8 ) | ( ( result & 0x000000ff ) << 24 ) ; return result ; }
Reads extended medium int

@param in
Source
@return int value