public static void setByte ( MemorySegment [ ] segments , int offset , byte value ) { if ( inFirstSegment ( segments , offset , 1 ) ) { segments [ 0 ] . put ( offset , value ) ; } else { setByteMultiSegments ( segments , offset , value ) ; } }
set byte from segments .