Exemplo n.º 1
0
        /// <summary>
        /// Writes an int64 field value, without a tag, to the stream.
        /// </summary>
        /// <param name="value">The value to write</param>
        public void WriteInt64(long value)
        {
            var span = new Span <byte>(buffer);

            WritingPrimitives.WriteInt64(ref span, ref state, value);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Writes an int64 field value, without a tag.
 /// </summary>
 /// <param name="value">The value to write</param>
 public void WriteInt64(long value)
 {
     WritingPrimitives.WriteInt64(ref buffer, ref state, value);
 }