public static boolean getBoolean ( MemorySegment [ ] segments , int offset ) { if ( inFirstSegment ( segments , offset , 1 ) ) { return segments [ 0 ] . getBoolean ( offset ) ; } else { return getBooleanMultiSegments ( segments , offset ) ; } }
get boolean from segments .