Class UuidSerializer
A serializer that serializes System.Guid values as Uuid in GraphBinary.
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 UuidSerializer : SimpleTypeSerializer<Guid>, ITypeSerializer
Constructors
UuidSerializer()
Initializes a new instance of the UuidSerializer class.
Declaration
public UuidSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Declaration
protected override async Task<Guid> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
Task<System.Guid> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.Guid>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(Guid, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(Guid value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.Guid>.WriteValueAsync(System.Guid, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)