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