PooledBufferStream.RentReadOnlySequence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)