public static byte[] createVendorOpCode(final int opCode, final int companyIdentifier) {
        final byte[] opCodes = new byte[3];
        opCodes[0] = (byte) (opCode | 0xC0);
        opCodes[1] = (byte) (companyIdentifier & 0xFF);
        opCodes[2] = (byte) ((companyIdentifier >> 8) & 0xFF);
        return opCodes;
    }
Returns the vendor opcode packed with company identifier
If the MSB = 0 then the length is 1
If the MSB = 1 then the length is 2
If the MSB = 2 then the length is 3

@param opCode operation code
@return length of opcodes
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshParserUtils.java