public static int termOffset ( final long rawTail , final long termLength ) { final long tail = rawTail & 0xFFFF_FFFF L ; return ( int ) Math . min ( tail , termLength ) ; }
Read the termOffset from a packed raw tail value .