Inline BufferWriter .ctor (#7674)

This commit is contained in:
Ben Adams 2019-02-18 05:30:29 +00:00 committed by David Fowler
parent 98fe8a8328
commit 3e47fa7c69
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ namespace System.Buffers
/// Initializes a new instance of the <see cref="BufferWriter{T}"/> struct.
/// </summary>
/// <param name="output">The <see cref="IBufferWriter{T}"/> to be wrapped.</param>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public BufferWriter(T output)
{
_buffered = 0;