public static void encodeDesc ( Float value , byte [ ] dst , int dstOffset ) { if ( value == null ) { DataEncoder . encode ( ~ 0x7fffffff , dst , dstOffset ) ; } else { encodeDesc ( value . floatValue ( ) , dst , dstOffset ) ; } }
Encodes the given Float object into exactly 4 bytes for descending order . A non - canonical NaN value is used to represent null .