Search Results for

    Show / Hide Table of Contents

    Class StringSerializer

    A System.String serializer.

    Inheritance
    System.Object
    SimpleTypeSerializer<System.String>
    StringSerializer
    Implements
    ITypeSerializer
    Inherited Members
    SimpleTypeSerializer<String>.DataType
    SimpleTypeSerializer<String>.WriteAsync(Object, Stream, GraphBinaryWriter)
    SimpleTypeSerializer<String>.WriteValueAsync(Object, Stream, GraphBinaryWriter, Boolean)
    SimpleTypeSerializer<String>.ReadAsync(Stream, GraphBinaryReader)
    SimpleTypeSerializer<String>.ReadValueAsync(Stream, GraphBinaryReader, Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Gremlin.Net.Structure.IO.GraphBinary.Types
    Assembly: cs.temp.dll.dll
    Syntax
    public class StringSerializer : SimpleTypeSerializer<string>, ITypeSerializer

    Constructors

    StringSerializer()

    Initializes a new instance of the StringSerializer class.

    Declaration
    public StringSerializer()

    Methods

    ReadValueAsync(Stream, GraphBinaryReader)

    Reads a non-nullable value according to the type format.

    Declaration
    protected override async Task<string> ReadValueAsync(Stream stream, GraphBinaryReader reader)
    Parameters
    Type Name Description
    Stream stream

    The GraphBinary data to parse.

    GraphBinaryReader reader

    A GraphBinaryReader.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    The read value.

    Overrides
    Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.String>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)

    WriteValueAsync(String, Stream, GraphBinaryWriter)

    Writes a non-nullable value into a stream.

    Declaration
    protected override async Task WriteValueAsync(string value, Stream stream, GraphBinaryWriter writer)
    Parameters
    Type Name Description
    System.String value
    Stream stream

    The stream to write to.

    GraphBinaryWriter writer

    A GraphBinaryWriter.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A task that represents the asynchronous write operation.

    Overrides
    Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.String>.WriteValueAsync(System.String, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)

    Implements

    ITypeSerializer
    In This Article
    Back to top Copyright © 2018 The Apache Software Foundation