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

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