Skip to content

M_CodeJam_Memory_Compare

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

Memory.Compare Method

Determines whether the first count of bytes of the p1 is equal to the p2.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static bool Compare(
	byte* p1,
	byte* p2,
	int count
)

VB

F#

Parameters

 

p1
Type: System.Byte
The first buffer to compare.
p2
Type: System.Byte
The second buffer to compare.
count
Type: System.Int32
The number of bytes to compare.

Return Value

Type: Boolean
true if all count bytes of the p1 and p2 are equal; otherwise, false.

See Also

Reference

Memory Class
CodeJam Namespace

Clone this wiki locally