Class BytecodeSerializer
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 BytecodeSerializer : SimpleTypeSerializer<Bytecode>, ITypeSerializer
Constructors
BytecodeSerializer()
Initializes a new instance of the BytecodeSerializer class.
Declaration
public BytecodeSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Reads a non-nullable value according to the type format.
Declaration
protected override async Task<Bytecode> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The GraphBinary data to parse. |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Bytecode> | The read value. |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Bytecode>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(Bytecode, Stream, GraphBinaryWriter)
Writes a non-nullable value into a stream.
Declaration
protected override async Task WriteValueAsync(Bytecode value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Bytecode | value | |
Stream | stream | The stream to write to. |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous write operation. |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Bytecode>.WriteValueAsync(Bytecode, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)