public static float getFloat ( MemorySegment [ ] segments , int offset ) { if ( inFirstSegment ( segments , offset , 4 ) ) { return segments [ 0 ] . getFloat ( offset ) ; } else { return getFloatMultiSegments ( segments , offset ) ; } }
get float from segments .