BC-Seedtool-CLI TypeScript Library - v1.0.0-alpha.16
    Preparing search index...

    Function dataToInts

    • Convert bytes to a string of integers in a given range. Matches Rust data_to_ints function.

      Parameters

      • buf: Uint8Array

        Input bytes

      • low: number

        Lowest output value (0-254)

      • high: number

        Highest output value (1-255), low < high

      • separator: string

        String to separate values

      Returns string

      String of integers

      Error if range is invalid