function isUint8Array(value) {
  return Boolean(
    value &&
      typeof value === 'object' &&
      'byteLength' in value &&
      'byteOffset' in value
  )
}
Assert `value` is an `Uint8Array`.

@param {unknown} value
  thing.
@returns {value is Uint8Array}
  Whether `value` is an `Uint8Array`.