public static int decode ( byte [ ] src , int srcOffset , byte [ ] [ ] valueRef ) throws CorruptEncodingException { try { return decode ( src , srcOffset , valueRef , 0 ) ; } catch ( IndexOutOfBoundsException e ) { throw new CorruptEncodingException ( null , e ) ; } }
Decodes the given byte array as originally encoded for ascending order . The decoding stops when any kind of terminator or illegal byte has been read . The decoded bytes are stored in valueRef .