public static byte [ ] encodeMultiple ( final byte [ ] input ) { if ( input == null ) { throw new NullPointerException ( "input" ) ; } final byte [ ] output = new byte [ input . length << 1 ] ; // * 2 encodeMultiple ( input , 0 , output , 0 , input . length ) ; return output ; }
Encodes given sequence of octets into a sequence of nibbles .