public static boolean decodeBooleanDesc ( byte [ ] src , int srcOffset ) throws CorruptEncodingException { try { return src [ srcOffset ] == 127 ; } catch ( IndexOutOfBoundsException e ) { throw new CorruptEncodingException ( null , e ) ; } }
Decodes a boolean from exactly 1 byte as encoded for descending order .