Exemple #1
0
 private static void ConvertUuid(ReadOnlySpan <FixedLenByteArray> source, ReadOnlySpan <short> defLevels, Span <Guid?> destination, short nullLevel)
 {
     for (int i = 0, src = 0; i != destination.Length; ++i)
     {
         destination[i] = defLevels[i] == nullLevel ? default(Guid?) : LogicalRead.ToUuid(source[src++]);
     }
 }
Exemple #2
0
 private static void ConvertUuid(ReadOnlySpan <FixedLenByteArray> source, Span <Guid> destination)
 {
     for (int i = 0; i != destination.Length; ++i)
     {
         destination[i] = LogicalRead.ToUuid(source[i]);
     }
 }