support for Uint_8 array to Buffer