Function toBytes

  • Convert string, number, or BigNumber to byte array

    Parameters

    • Optional val: null | string | number | BigNumber

      value to convert

    • big: boolean = false

      enables force conversion to BigNumber

    Returns Buffer

    Buffer

Generated using TypeDoc