public void Dispose() { _unmanagedWriteBuffer.Dispose(); }
public void NewDocument() { _maybeBeforePreamble = true; _unmanagedWriteBuffer.Dispose(); _unmanagedWriteBuffer = _ctx.GetStream(); }
public void Dispose() { _stringBuffer?.Dispose(); }
public void NewDocument() { _maybeBeforePreamble = true; _stringBuffer.Dispose(); _stringBuffer = _ctx.GetStream(); }