다음을 통해 공유


StructuralObject.BinaryEquals(Byte[], Byte[]) 메서드

정의

지정된 바이트 배열에 동일한 값이 포함되어 있는지 확인합니다.

protected internal static bool BinaryEquals(byte[] first, byte[] second);
static member BinaryEquals : byte[] * byte[] -> bool
Protected Friend Shared Function BinaryEquals (first As Byte(), second As Byte()) As Boolean

매개 변수

first
Byte[]

비교할 첫 번째 바이트 배열 값입니다.

second
Byte[]

비교할 두 번째 바이트 배열입니다.

반환

두 배열의 길이가 같고 바이트 값이 같거나 두 배열이 모두 null이면 true이고, 그렇지 않으면 false입니다.

적용 대상