@BMEMCMP — Compares two series of
bytes in binary buffers.
Syntax:
%@BMEMCMP[bbuf1,offset1,bbuf2,offset2,size]
| bbuf1 | the handle to the binary buffer with the first series of bytes; required |
| offset1 | the offset of the first series within bbuf1; defaults to 0 |
| bbuf2 | the handle to the binary buffer with the second series of bytes; defaults to bbuf1 |
| offset2 | the offset of the second series within bbuf2; defaults to 0 |
| size | the number of bytes to compare; defaults to all from offset1 to the end of buf1 |
@BMEMCMP compares two series of bytes. Both series may be in the
same buffer, or they can be in two different buffers.
@BMEMCMP returns 0 if the two series are identical,
or nonzero if they differ.
After parsing and validating its arguments, this function just calls memcmp().