v2.0.0
Returns true if a buffer is binary. Takes a buffer and does not read from the file system.
Source code on GitHub