Ejemplo n.º 1
0
        internal static void Write <TWriter>(this TWriter @this, SpanId value) where TWriter : IBinaryTokenStreamWriter
        {
            @this.Write(value.GetHashCode());
            var array = SpanId.UnsafeGetArray(value);

            @this.Write((ushort)array.Length);
            @this.Write(array);
        }