also check isBuffer()
0.10.1