Buffer.memcmp

int memcmp(size_t offset, ubyte[] mem)

Compares size bytes starting from offset in buffer with the memory in mem.

Parameters

offsetthe offset in buffer
memthe memory to compare

Returns

0 if the memory is equal.