Class StringSerializer
A System.String serializer.
Implements
Inherited Members
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, CancellationToken)
Declaration
protected override async Task<string> ReadValueAsync(Stream stream, GraphBinaryReader reader, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.String>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader, CancellationToken)
WriteValueAsync(String, Stream, GraphBinaryWriter, CancellationToken)
Declaration
protected override async Task WriteValueAsync(string value, Stream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
Stream | stream | |
GraphBinaryWriter | writer | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.String>.WriteValueAsync(System.String, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter, CancellationToken)