If you want to learn what the bytes in a MIDI file mean, you can read the Standard MIDI Files specification available in the "Specs" section of www.midi.org. If you get to a part of the specification that is confusing, you can ask a question about it here on the forum and someone may be able to help explain it.
If you think the specification will take too long to learn, you can explain more about what you are trying to do, and someone may be able to suggest an easier method.