Edit

Share via


PooledBuffer.BufferSlice.Slice Method

Definition

Overloads

Slice(Int32)

Forms a slice out of this instance, beginning at the specified offset into this slice.

Slice(Int32, Int32)

Forms a slice out of this instance, beginning at the specified offset into this slice and having the specified length.

Slice(Int32)

Forms a slice out of this instance, beginning at the specified offset into this slice.

public Orleans.Serialization.Buffers.PooledBuffer.BufferSlice Slice (int offset);
member this.Slice : int -> Orleans.Serialization.Buffers.PooledBuffer.BufferSlice
Public Function Slice (offset As Integer) As PooledBuffer.BufferSlice

Parameters

offset
Int32

The offset into this slice where the newly formed slice will begin.

Returns

A slice instance.

Applies to

Slice(Int32, Int32)

Forms a slice out of this instance, beginning at the specified offset into this slice and having the specified length.

public Orleans.Serialization.Buffers.PooledBuffer.BufferSlice Slice (int offset, int length);
member this.Slice : int * int -> Orleans.Serialization.Buffers.PooledBuffer.BufferSlice
Public Function Slice (offset As Integer, length As Integer) As PooledBuffer.BufferSlice

Parameters

offset
Int32

The offset into this slice where the newly formed slice will begin.

length
Int32

The length of the new slice.

Returns

A slice instance.

Applies to