예제 #1
0
        /// <summary>
        /// Writes an sfixed32 value, without a tag, to the stream.
        /// </summary>
        /// <param name="value">The value to write.</param>
        public void WriteSFixed32(int value)
        {
            var span = new Span <byte>(buffer);

            WritingPrimitives.WriteSFixed32(ref span, ref state, value);
        }
예제 #2
0
 /// <summary>
 /// Writes an sfixed32 value, without a tag.
 /// </summary>
 /// <param name="value">The value to write.</param>
 public void WriteSFixed32(int value)
 {
     WritingPrimitives.WriteSFixed32(ref buffer, ref state, value);
 }