Пример #1
0
        private byte[] CreateRawData(byte id, RawMessage rawMessage)
        {
            var result = rawMessagePacker.Pack(id, rawMessage.RawData);

            return(result);
        }
Пример #2
0
        private void HandleRawMessageFound(RawMessage rawMessage)
        {
            var message = messageUnpacker.Unpack(rawMessage);

            messageReceived.Notify(message);
        }