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

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