• Converts an integer to bytes.

    Parameters

    • value: number | bigint

      Integer value.

    • byteSize: number

      Number of output bytes.

    • Optional isSigned: boolean

      \c true if the value is signed.

    Returns Uint8Array

    Byte representation of the integer.