public static byte getValueLengthFromQualifier ( final byte [ ] qualifier , final int offset ) { validateQualifier ( qualifier , offset ) ; short length ; if ( ( qualifier [ offset ] & Const . MS_BYTE_FLAG ) == Const . MS_BYTE_FLAG ) { length = ( short ) ( qualifier [ offset + 3 ] & Internal . LENGTH_MASK ) ; } else { length = ( short ) ( qualifier [ offset + 1 ] & Internal . LENGTH_MASK ) ; } return ( byte ) ( length + 1 ) ; }
Returns the length of the value in bytes parsed from the qualifier