MemoryStream.MemoryStream C# (CSharp) Method

MemoryStream() public method

Initializes a new instance of the MemoryStream{T} class.
public MemoryStream ( ReadOnlyMemory memory ) : System,
memory ReadOnlyMemory The memory to read from.
return System,
    public MemoryStream(ReadOnlyMemory<T> memory)
    {
        this.Memory = memory;
    }