public ConfigurationStatusMessage(byte[] rawData) { var extractor = new RawMessageExtractor(rawData); extractor.Get(ref firstNote); extractor.Get(ref velocity); extractor.Get(ref debouncingTime); extractor.Get(ref pedalPins, PinCount); extractor.Finish(); }
public DebugMessage(byte[] rawData) { var extractor = new RawMessageExtractor(rawData); extractor.Get(ref text, TextLength); extractor.Finish(); }
public GeneralStatusMessage(byte[] rawData) { var extractor = new RawMessageExtractor(rawData); extractor.Get(ref configurationOk); extractor.Get(ref pressedPedals); extractor.Get(ref playedNotes); extractor.Get(ref numberOfToggledPedals); extractor.Get(ref numberOfToggledNotes); extractor.Get(ref numberOfReceivedBytes); extractor.Get(ref numberOfDiscardedBytes); extractor.Finish(); }