• Converts a BigNumberish type to a buffer. If the input is already a buffer, the return value will be the buffer itself, otherwise it will be converted to a buffer using big-endian byte order.

    Parameters

    Returns Buffer

    The buffer representation of the BigNumberish value.