Class PSerializer
A
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 PSerializer : SimpleTypeSerializer<P>, ITypeSerializer
Constructors
PSerializer(DataType)
Initializes a new instance of the PSerializer class.
Declaration
public PSerializer(DataType typeOfP)
Parameters
Type | Name | Description |
---|---|---|
DataType | typeOfP |
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Declaration
protected override async Task<P> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<P> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<P>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(P, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(P value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
P | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<P>.WriteValueAsync(P, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)