# bytesHyperLogLog

> **bytesHyperLogLog**(`options?`): [`BytesHyperLogLog`](/reference/knotkit/scalar-sketch/interfaces/byteshyperloglog/)

Defined in: [packages/scalar-sketch/src/hyperloglog.ts:162](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/scalar-sketch/src/hyperloglog.ts#L162)

Create a byte-array-specialized HyperLogLog.

## Parameters

### options?

[`HyperLogLogOptions`](/reference/knotkit/scalar-sketch/interfaces/hyperloglogoptions/) = `{}`

## Returns

[`BytesHyperLogLog`](/reference/knotkit/scalar-sketch/interfaces/byteshyperloglog/)

## Throws

With `INVALID_PRECISION` or `STATE_TOO_LARGE` for invalid options.

## Throws

From `knotkit/hash` for an invalid seed.
