Exemplo n.º 1
0
        /// <summary>Appends a field to the message.</summary>
        public JournalMessage Append(JournalFieldName name, object value)
        {
            if (value == null)
            {
                return(this);
            }

            return(AppendField((ReadOnlySpan <byte>)name, value));
        }
Exemplo n.º 2
0
 /// <summary>Appends a field to the message.</summary>
 public JournalMessage Append(JournalFieldName name, ReadOnlySpan <byte> value)
 => AppendSpanField((ReadOnlySpan <byte>)name, value);