Edit

Share via


PooledBufferStream.RentReadOnlySequence Method

Definition

Returns a new ReadOnlySequence<T> which must be used and returned before resetting this instance via the ReturnReadOnlySequence(ReadOnlySequence<Byte>) method.

public System.Buffers.ReadOnlySequence<byte> RentReadOnlySequence ();
member this.RentReadOnlySequence : unit -> System.Buffers.ReadOnlySequence<byte>
Public Function RentReadOnlySequence () As ReadOnlySequence(Of Byte)

Returns

Applies to