Class UuidSliceEncoderExtensions
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
encoderSliceEncoderThe Slice encoder.
valueGuidThe 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().