コード例 #1
0
 public bool SequenceEquals(MemorySlice other)
 {
     return(this.ToReadOnlySpan().SequenceEqual(other.ToReadOnlySpan()));
 }
コード例 #2
0
 public static unsafe long FastHash64(MemorySlice slice)
 {
     return(unchecked (FastHash64((byte *)slice.Pointer, slice.Size)));
 }