public static short getFlagsFromQualifier ( final byte [ ] qualifier , final int offset ) { validateQualifier ( qualifier , offset ) ; if ( ( qualifier [ offset ] & Const . MS_BYTE_FLAG ) == Const . MS_BYTE_FLAG ) { return ( short ) ( qualifier [ offset + 3 ] & Internal . FLAGS_MASK ) ; } else { return ( short ) ( qualifier [ offset + 1 ] & Internal . FLAGS_MASK ) ; } }
Parses the flag bits from the qualifier