RecyclableMemoryStreamManager.Options.ZeroOutBuffer property
December 6, 2023 · View on GitHub
Zero out buffers on allocation and before returning them to the pool.
public bool ZeroOutBuffer { get; set; }
Remarks
Setting this to true causes a performance hit and should only be set if one wants to avoid accidental data leaks.
See Also
- class Options
- namespace Microsoft.IO