public static IntBuffer stride ( IntBuffer buffer ) { int rank = rank ( buffer ) ; val buffer2 = ( Buffer ) buffer ; val ret = ( IntBuffer ) buffer2 . position ( 1 + rank ) ; return ret . slice ( ) ; }
Get the stride for the given shape information buffer