detect if a buffer is utf8 encoded.
npm install is-utf8@0.2.0
yarn add is-utf8@0.2.0
pnpm add is-utf8@0.2.0
bun add is-utf8@0.2.0