function readArrayBuffer(resp, info):Promise<Array> {
  switch (info.rnfbEncode) {
    case 'path':
      return resp.readFile('ascii')
      break
    default:
      let buffer = []
      let str = resp.text()
      for (let i in str) {
        buffer[i] = str.charCodeAt(i);
      }
      return Promise.resolve(buffer)
      break
  }
}
Get response data as array.
@param  {FetchBlobResponse} resp Response data object from RNFB fetch call.
@param  {RNFetchBlobResponseInfo} info Response informations.
@return {Promise<Array>}