private byte[] CreateRawData(byte id, RawMessage rawMessage) { var result = rawMessagePacker.Pack(id, rawMessage.RawData); return(result); }
private void HandleRawMessageFound(RawMessage rawMessage) { var message = messageUnpacker.Unpack(rawMessage); messageReceived.Notify(message); }