public static void maxNormalizedKey ( MemorySegment target , int offset , int numBytes ) { //write max value. for ( int i = 0 ; i < numBytes ; i ++ ) { target . put ( offset + i , ( byte ) - 1 ) ; } }
Max unsigned byte is - 1 .