• Convert a file to a Base64 string, It works only in Node.js environment.

    Parameters

    • filePath: string

      file path to the file

    • skipBytes: number = 0

      number of bytes to skip

    Returns Promise<string>

    Base64 string