Class ArraySerializer<TMember>
A serializer that serializes .NET arrays to GraphBinary lists.
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 ArraySerializer<TMember> : SimpleTypeSerializer<TMember[]>, ITypeSerializer
Type Parameters
Name | Description |
---|---|
TMember | The type of elements in the array. |
Constructors
ArraySerializer()
Initializes a new instance of the ArraySerializer<TMember> class.
Declaration
public ArraySerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Currently not supported as GraphBinary has no array data type.
Declaration
protected override Task<TMember[]> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TMember[]> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<TMember[]>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(TMember[], Stream, GraphBinaryWriter)
Declaration
protected override Task WriteValueAsync(TMember[] value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
TMember[] | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<TMember[]>.WriteValueAsync(TMember[], Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)