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