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

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