what do you think about `if typeof data == 'string' || data instanceof Buffer`?