Don't guess what the input for conversion is
Allow Uint8Array to be input for conversion