Class ThrowsBinaryFormat
- Namespace
- Steeltoe.Management.Census.Trace.Propagation
- Assembly
- Steeltoe.Management.OpenCensusBase.dll
public class ThrowsBinaryFormat : BinaryFormatBase
- Inheritance
-
BinaryFormatBaseThrowsBinaryFormat
- Inherited Members
Methods
FromByteArray(byte[])
Deserializes span context from the bytes array.
public override ISpanContext FromByteArray(byte[] bytes)
Parameters
bytesbyte[]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
spanContextISpanContextSpan context to serialize.
Returns
- byte[]
Byte array with the encoded span context in it.