Table of Contents

Class ThrowsBinaryFormat

Namespace
Steeltoe.Management.Census.Trace.Propagation
Assembly
Steeltoe.Management.OpenCensusBase.dll
public class ThrowsBinaryFormat : BinaryFormatBase
Inheritance
BinaryFormatBase
ThrowsBinaryFormat
Inherited Members

Methods

FromByteArray(byte[])

Deserializes span context from the bytes array.

public override ISpanContext FromByteArray(byte[] bytes)

Parameters

bytes byte[]

Bytes array with the envoded span context in it.

Returns

ISpanContext

Span context deserialized from the byte array.

ToByteArray(ISpanContext)

Serialize span context into the bytes array.

public override byte[] ToByteArray(ISpanContext spanContext)

Parameters

spanContext ISpanContext

Span context to serialize.

Returns

byte[]

Byte array with the encoded span context in it.