Skip to content

ArcBuffer Properties

Represents a reference-counted slice of raw bytes from an ArcBufferWriter.

ArraySegments

get
View source
public readonly ArraySegmentEnumerator ArraySegments
Returns an enumerator which can be used to enumerate the array segments referenced by this instance.

Returns

An enumerator for the data contained in this instance.

Empty

staticget
View source
public static ArcBuffer Empty
Gets an empty buffer which owns no pages.

IsEmpty

get
View source
public readonly bool IsEmpty
Gets whether this buffer contains no bytes.

MemorySegments

get
View source
public readonly MemoryEnumerator MemorySegments
Returns an enumerator which can be used to enumerate the memory segments referenced by this instance.

Returns

An enumerator for the data contained in this instance.

SpanSegments

get
View source
public readonly SpanEnumerator SpanSegments
Returns an enumerator which can be used to enumerate the span segments referenced by this instance.

Returns

An enumerator for the data contained in this instance.