Function read_buffer_from_file

  • Read a file from disk and returns a buffer

    Parameters

    • fname: string

    Returns Buffer