Exemplo n.º 1
0
 internal static bool ByteArrayCompare(byte[] b1, byte[] b2)
 {
     // Validate buffers are the same length.
     // This also ensures that the count does not exceed the length of either buffer.
     return(NativeDisk.memcmp(b1, b2, b1.Length > b2.Length ? b2.Length : b1.Length) == 0);
 }