Skip to content

M_CodeJam_Memory_CompareInline

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

Memory.CompareInline 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 CompareInline(
	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.

Remarks

This is a forced inline version, use with care.

See Also

Reference

Memory Class
CodeJam Namespace

Clone this wiki locally