Share via


ResponseContinuationToken.FromBytes(ReadOnlyMemory<Byte>) Method

Definition

Create a new instance of ResponseContinuationToken from the provided bytes.

public:
 static Microsoft::Extensions::AI::ResponseContinuationToken ^ FromBytes(ReadOnlyMemory<System::Byte> bytes);
public static Microsoft.Extensions.AI.ResponseContinuationToken FromBytes(ReadOnlyMemory<byte> bytes);
static member FromBytes : ReadOnlyMemory<byte> -> Microsoft.Extensions.AI.ResponseContinuationToken
Public Shared Function FromBytes (bytes As ReadOnlyMemory(Of Byte)) As ResponseContinuationToken

Parameters

bytes
ReadOnlyMemory<Byte>

Bytes representing the ResponseContinuationToken.

Returns

A ResponseContinuationToken equivalent to the one from which the originalResponseContinuationToken bytes were obtained.

Applies to