public static byte [ ] getIncreasingByteArray ( int start , int len ) { byte [ ] ret = new byte [ len ] ; for ( int k = 0 ; k < len ; k ++ ) { ret [ k ] = ( byte ) ( k + start ) ; } return ret ; }
Gets an increasing sequence of bytes starting with the given value .