byte[] s = ip.getByteArray(); if (s.length != sysex.length)
if (ip.getSize() != sysex.length)
    public void useSysexFromPatch(IPatch ip) {        byte[] s = ip.getByteArray();        if (s.length != sysex.length)            throw new IllegalArgumentException();        sysex = s;    }