Show / Hide Table of Contents

Class FormOfWayConvertor

Represents a form of way convertor that encodes/decodes into the binary OpenLR format.

Inheritance
System.Object
FormOfWayConvertor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class FormOfWayConvertor

Methods

Decode(Byte[], Int32)

Decodes a form of way type from binary data.

Declaration
public static FormOfWay Decode(byte[] data, int byteIndex)
Parameters
System.Byte[] data

The binary data.

System.Int32 byteIndex

The index of the data in the first byte.

Returns
FormOfWay

Decode(Byte[], Int32, Int32)

Decodes a form of way type from binary data.

Declaration
public static FormOfWay Decode(byte[] data, int startIndex, int byteIndex)
Parameters
System.Byte[] data

The binary data.

System.Int32 startIndex

The index of the byte in data.

System.Int32 byteIndex

The index of the data in the given byte.

Returns
FormOfWay

Encode(FormOfWay, Byte[], Int32, Int32)

Encodes a form of way into binary data.

Declaration
public static void Encode(FormOfWay formOfWay, byte[] data, int startIndex, int byteIndex)
Parameters
FormOfWay formOfWay

System.Byte[] data

System.Int32 startIndex

System.Int32 byteIndex

Back to top Built by Itinero, MIT licensed.