Buffer.memcmp

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

class Buffer
int
memcmp
(
size_t offset
,
ubyte[] mem
)

Parameters

offset size_t

the offset in buffer

mem ubyte[]

the memory to compare

Return Value

Type: int

0 if the memory is equal.