com.palserv.XMidi
Class ByteLen

java.lang.Object
  extended by com.palserv.XMidi.ByteLen

public class ByteLen
extends java.lang.Object

internal class

NOT FOR EXTERNAL USE

This class is more like a data structure. It contains variables, but no methods. It is used to pass these variables as a return from the MX.deltaToInt method.


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

ba

public byte[] ba
A byte array.


len

public 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.

There is nothing about this class that requires that this variable be used in this way. It could be any int.

Constructor Detail

ByteLen

public ByteLen()
Default constructor. As of Jan 8, 2001, this is not used.


ByteLen

public ByteLen(byte[] b,
               int l)
Constructor used in the MX.deltaToInt method to create this class, which it then returns.

Parameters:
b - - a byte array; used to set ba
l - - a length; used to set len