public static void setInt ( MemorySegment [ ] segments , int offset , int value ) { if ( inFirstSegment ( segments , offset , 4 ) ) { segments [ 0 ] . putInt ( offset , value ) ; } else { setIntMultiSegments ( segments , offset , value ) ; } }
set int from segments .