curby-js-client
CtrlK
  • index
  • classes
    • Client
    • DIRNGClient
    • InvalidPrecom
  • functions
    • byteHelper
    • checkValidPrecommitmentValue
    • extractRandomness
    • getPrecommitmentValue
    • pulsesToRoundData
    • timeToNext
    • usesDeterministicAlgorithm
    • validateBellResponse
    • validateSeed
    • validateSeedOrdering
    • wait
    • withValidations
    • xorArrays
    • zip
  • interfaces
    • ByteHelper
  • type-aliases
    • ClientOptions
    • DIRNGClientOptions
    • LatestPulsePair
    • NumberArray
    • PulsePair
    • RandomnessRound
    • RoundData
    • RoundValidations
    • Validation
    • WaitOptions
  • variables
    • CHAINS
    • CURBY_API_URL
Powered by GitBook
On this page
  • Function: byteHelper()
  • Parameters
  • Returns
  • Defined in
  1. functions

byteHelper

@buff-beacon-project/curby-client • Docs


@buff-beacon-project/curby-client / byteHelper

Function: byteHelper()

byteHelper(bytes, isoTimestamp): ByteHelper

Create a ByteHelper from a set of bytes and a timestamp

Parameters

Parameter
Type

bytes

Uint8Array

isoTimestamp

string

Returns

ByteHelper

Defined in

src/byte-helper.ts:122

PreviousfunctionsNextcheckValidPrecommitmentValue

Last updated 8 months ago