<PackageReference Include="System.ServiceModel.Primitives" Version="10.0.652802" />

System.ServiceModel.Channels.BodyWriter

public abstract class BodyWriter
public bool IsBuffered { get; }

protected BodyWriter(bool isBuffered)

public BodyWriter CreateBufferedCopy(int maxBufferSize)

public void EndWriteBodyContents(IAsyncResult result)

protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)

protected virtual BodyWriter OnCreateBufferedCopy(int maxBufferSize)

protected virtual void OnEndWriteBodyContents(IAsyncResult result)

protected abstract void OnWriteBodyContents(XmlDictionaryWriter writer)