ResponseContinuationToken.FromBytes(ReadOnlyMemory<Byte>) 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.
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.