Function fromstring

  • Creates a buffer from a string.

    Parameters

    • str: string

    Returns buffer