memcmp


Description:

public int memcmp (size_t offset, uint8[] mem)

Compares mem.length bytes starting from offset in this with the memory in mem .

Parameters:

this

a Buffer.

offset

the offset in this

mem

the memory to compare

size

the size to compare

Returns:

0 if the memory is equal.