Class SingleTypeSerializer<T>
Represents a serializer for types that can be represented as a single value and that can be read and write in a single operation.
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 SingleTypeSerializer<T> : SimpleTypeSerializer<T>, ITypeSerializer
Type Parameters
Name | Description |
---|---|
T |
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Declaration
protected override async Task<T> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<T> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<T>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(T, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(T value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
T | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<T>.WriteValueAsync(T, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)