|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.midi.xmidi.ByteLen
public class ByteLen
The MIDI file parsing parts of this class are based on code from the XMidi project, written by Peter Arthur Loeb (http://www.palserv.com/XMidi/) and used with permission. The warranty disclaimer of the MIT license (http://www.opensource.org/licenses/mit-license.html) applies to Peter Arthur Loeb's code.
Field Summary | |
---|---|
byte[] |
ba
A byte array. |
int |
len
As used in the MX.deltaToInt
method, it is the length of the delta field being converted,
not the length of the array. |
Constructor Summary | |
---|---|
ByteLen()
Default constructor. |
|
ByteLen(byte[] b,
int l)
Constructor used in the MX.deltaToInt
method to create this class, which it then returns. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte[] ba
public int len
MX.deltaToInt
method, it is the length of the delta field being converted,
not the length of the array.
There is nothing about this class that requires that this variable be used in this way. It could be any int.
Constructor Detail |
---|
public ByteLen()
public ByteLen(byte[] b, int l)
MX.deltaToInt
method to create this class, which it then returns.
b
- a byte array; used to set ba
l
- a length; used to set len
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |