Use buffer-equal module

No need to implement it yourself :)