internal static ResponseParameters DecodeResponse(IClientMessage clientMessage)
        {
            var parameters     = new ResponseParameters();
            var responseIsNull = clientMessage.GetBoolean();

            if (!responseIsNull)
            {
                var response = EntryViewCodec.Decode(clientMessage);
                parameters.response = response;
            }
            return(parameters);
        }
        public static ResponseParameters DecodeResponse(IClientMessage clientMessage)
        {
            var parameters = new ResponseParameters();
            SimpleEntryView <IData, IData> dataEntryView = null;
            var dataEntryView_isNull = clientMessage.GetBoolean();

            if (!dataEntryView_isNull)
            {
                dataEntryView            = EntryViewCodec.Decode(clientMessage);
                parameters.dataEntryView = dataEntryView;
            }
            return(parameters);
        }