Table of Contents

Class UuidSliceEncoderExtensions

Namespace
ZeroC.Slice.Codec
Assembly
ZeroC.Slice.Codec.dll

Provides an extension method for SliceEncoder to encode a Guid as a WellKnownTypes::Uuid.

public static class UuidSliceEncoderExtensions
Inheritance
UuidSliceEncoderExtensions
Inherited Members

Methods

EncodeUuid(ref SliceEncoder, Guid)

Encodes a Guid as a WellKnownTypes::Uuid.

public static void EncodeUuid(this ref SliceEncoder encoder, Guid value)

Parameters

encoder SliceEncoder

The Slice encoder.

value Guid

The value to encode.

Remarks

The 16 bytes are written in the network byte order specified by RFC 9562, not in the mixed-endian layout of ToByteArray().