Reader.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Create(PooledBuffer, SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(PooledBuffer+BufferSlice, SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(ReadOnlySequence<Byte>, SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(Byte[], SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(Stream, SerializerSession) |
Cria um leitor para o fluxo de entrada fornecido. |
Create(ReadOnlyMemory<Byte>, SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(ReadOnlySpan<Byte>, SerializerSession) |
Cria um leitor para o buffer fornecido. |
Create(PooledBuffer, SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- input
- PooledBuffer
A entrada.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(PooledBuffer+BufferSlice, SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- input
- PooledBuffer.BufferSlice
A entrada.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(ReadOnlySequence<Byte>, SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- sequence
- ReadOnlySequence<Byte>
O buffer.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(Byte[], SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- buffer
- Byte[]
O buffer.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(Stream, SerializerSession)
Cria um leitor para o fluxo de entrada fornecido.
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)
Parâmetros
- stream
- Stream
O fluxo.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(ReadOnlyMemory<Byte>, SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- buffer
- ReadOnlyMemory<Byte>
O buffer.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.
Aplica-se a
Create(ReadOnlySpan<Byte>, SerializerSession)
Cria um leitor para o buffer fornecido.
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)
Parâmetros
- buffer
- ReadOnlySpan<Byte>
O buffer.
- session
- SerializerSession
A sessão.
Retornos
Um novo Reader<TInput>.