     }
 
     /// The length in bytes for this MIDI message (1 to 3 bytes)
-    var length: Int {
+    public var length: Int {
         return internalData.count
     }
 

            let bytes = [packet.data.0, packet.data.1, packet.data.2]
            internalData = bytes
        }
    }

    /// Generate array of MIDI events from Bluetooth data

        return midiEvents
    }

    static func decode(packet: MIDIPacket) -> [MIDIByte]? {
        var outBytes = [MIDIByte]()
        var computedLength = 0
