Partager via


Reader.Create Méthode

Définition

Surcharges

Create(PooledBuffer, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(PooledBuffer+BufferSlice, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(ReadOnlySequence<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(Byte[], SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(Stream, SerializerSession)

Crée un lecteur pour le flux d’entrée fourni.

Create(ReadOnlyMemory<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(ReadOnlySpan<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

Create(PooledBuffer, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.Adaptors.BufferSliceReaderInput> Create (Orleans.Serialization.Buffers.PooledBuffer input, Orleans.Serialization.Session.SerializerSession session);
static member Create : Orleans.Serialization.Buffers.PooledBuffer * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.Adaptors.BufferSliceReaderInput>
Public Shared Function Create (input As PooledBuffer, session As SerializerSession) As Reader(Of BufferSliceReaderInput)

Paramètres

input
PooledBuffer

Entrée.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(PooledBuffer+BufferSlice, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.Adaptors.BufferSliceReaderInput> Create (Orleans.Serialization.Buffers.PooledBuffer.BufferSlice input, Orleans.Serialization.Session.SerializerSession session);
static member Create : Orleans.Serialization.Buffers.PooledBuffer.BufferSlice * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.Adaptors.BufferSliceReaderInput>
Public Shared Function Create (input As PooledBuffer.BufferSlice, session As SerializerSession) As Reader(Of BufferSliceReaderInput)

Paramètres

input
PooledBuffer.BufferSlice

Entrée.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(ReadOnlySequence<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.ReadOnlySequenceInput> Create (System.Buffers.ReadOnlySequence<byte> sequence, Orleans.Serialization.Session.SerializerSession session);
static member Create : System.Buffers.ReadOnlySequence<byte> * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.ReadOnlySequenceInput>
Public Shared Function Create (sequence As ReadOnlySequence(Of Byte), session As SerializerSession) As Reader(Of ReadOnlySequenceInput)

Paramètres

sequence
ReadOnlySequence<Byte>

Mémoire tampon.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(Byte[], SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput> Create (byte[] buffer, Orleans.Serialization.Session.SerializerSession session);
static member Create : byte[] * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput>
Public Shared Function Create (buffer As Byte(), session As SerializerSession) As Reader(Of SpanReaderInput)

Paramètres

buffer
Byte[]

Mémoire tampon.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(Stream, SerializerSession)

Crée un lecteur pour le flux d’entrée fourni.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.ReaderInput> Create (System.IO.Stream stream, Orleans.Serialization.Session.SerializerSession session);
static member Create : System.IO.Stream * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.ReaderInput>
Public Shared Function Create (stream As Stream, session As SerializerSession) As Reader(Of ReaderInput)

Paramètres

stream
Stream

Flux.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(ReadOnlyMemory<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput> Create (ReadOnlyMemory<byte> buffer, Orleans.Serialization.Session.SerializerSession session);
static member Create : ReadOnlyMemory<byte> * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput>
Public Shared Function Create (buffer As ReadOnlyMemory(Of Byte), session As SerializerSession) As Reader(Of SpanReaderInput)

Paramètres

buffer
ReadOnlyMemory<Byte>

Mémoire tampon.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à

Create(ReadOnlySpan<Byte>, SerializerSession)

Crée un lecteur pour la mémoire tampon fournie.

public static Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput> Create (ReadOnlySpan<byte> buffer, Orleans.Serialization.Session.SerializerSession session);
static member Create : ReadOnlySpan<byte> * Orleans.Serialization.Session.SerializerSession -> Orleans.Serialization.Buffers.Reader<Orleans.Serialization.Buffers.SpanReaderInput>
Public Shared Function Create (buffer As ReadOnlySpan(Of Byte), session As SerializerSession) As Reader(Of SpanReaderInput)

Paramètres

buffer
ReadOnlySpan<Byte>

Mémoire tampon.

session
SerializerSession

Session.

Retours

Nouveau Reader<TInput>.

S’applique à