Function fromBuffer

  • Converts an U128 value to a number

    Parameters

    • buffer: Uint8Array

      The buffer to read from

    • offset: number

      The optional offset in the buffer at which to start reading the U128 value (default: 0)

    Returns {
        offset: number;
        value: U128_t;
    }

    The U128 representation of the bytes