/// <summary> /// Writes an int32 field value, without a tag, to the stream. /// </summary> /// <param name="value">The value to write</param> public void WriteInt32(int value) { var span = new Span <byte>(buffer); WritingPrimitives.WriteInt32(ref span, ref state, value); }
/// <summary> /// Writes an int32 field value, without a tag. /// </summary> /// <param name="value">The value to write</param> public void WriteInt32(int value) { WritingPrimitives.WriteInt32(ref buffer, ref state, value); }