handling arrays, buffers and lots of edgecases
0.2.0 added Array, Buffer and no longer crashes for edgecases