Function toBytes

  • Convert string, number, or BigNumber to byte array

    Returns

    Buffer

    Parameters

    • Optional val: null | string | number | BigNumber

      value to convert

    • big: boolean = false

      enables force conversion to BigNumber

    Returns Buffer

Generated using TypeDoc