ArcBuffer
struct
Namespace: Orleans.Serialization.Buffers
Represents a slice of a
ArcBufferWriter. public struct ArcBuffer : IDisposableRemarks
Initializes a new instance of the
ArcBuffer type. Constructors
ArcBuffer(ArcBufferPage, int, int, int)Represents a slice of aArcBufferWriter.
Properties
ArraySegmentsReturns an enumerator which can be used to enumerate the array segments referenced by this instance.MemorySegmentsReturns an enumerator which can be used to enumerate the memory segments referenced by this instance.SpanSegmentsReturns an enumerator which can be used to enumerate the span segments referenced by this instance.
Methods
AsReadOnlySequenceReturns a newSystem.Buffers.ReadOnlySequencewhich must not be accessed after disposing this instance.CopyTo(Span<byte>)Copies the contents of this writer to a span.CopyTo(ArcBufferWriter)Copies the contents of this writer to a pooled buffer.CopyTo(TBufferWriter)Copies the contents of this writer to a buffer writer.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.GetEnumeratorReturns an enumerator which can be used to enumerate the span segments referenced by this instance.PinPins this slice, preventing the referenced pages from being returned to the pool.Slice(int)Slice(int, int)ToArrayReturns the data which has been written as an array.UnpinUnpins this slice, allowing the referenced pages to be returned to the pool.UnsafeSlice(int, int)
