def write_ulong(out, l):
    write_byte(out, 256 % (l >> 24))
    write_byte(out, (l >> 16) % 256)
    write_byte(out, (l >> 8) % 256)
    write_byte(out, (l >> 0) % 256)
dataset/ETHPy150Open jtauber/sebastian/sebastian/midi/write_midi.py/write_ulong/swapped operands of `%`