<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Buffer object to initialize a buffer is deprecated in NodeJS in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Buffer-object-to-initialize-a-buffer-is-deprecated-in-NodeJS/m-p/5338764#M4037</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;US&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;new Buffer('clientId' + ':' + 'clientSecret').toString('base64')&lt;/P&gt;&lt;P&gt;Buffer object needs statically allocated array to store buffer for a long time.&lt;/P&gt;&lt;P&gt;I'm not sure why the documentation still has this as an example for the authorization code flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the updated .from or .alloc method for buffer objects&lt;/P&gt;&lt;P&gt;Buffer.from('clientId'+':'+'clientSecret').toString('base64')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 04:41:03 GMT</pubDate>
    <dc:creator>ryan11lb426</dc:creator>
    <dc:date>2022-02-07T04:41:03Z</dc:date>
    <item>
      <title>Buffer object to initialize a buffer is deprecated in NodeJS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Buffer-object-to-initialize-a-buffer-is-deprecated-in-NodeJS/m-p/5338764#M4037</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;US&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;new Buffer('clientId' + ':' + 'clientSecret').toString('base64')&lt;/P&gt;&lt;P&gt;Buffer object needs statically allocated array to store buffer for a long time.&lt;/P&gt;&lt;P&gt;I'm not sure why the documentation still has this as an example for the authorization code flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the updated .from or .alloc method for buffer objects&lt;/P&gt;&lt;P&gt;Buffer.from('clientId'+':'+'clientSecret').toString('base64')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 04:41:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Buffer-object-to-initialize-a-buffer-is-deprecated-in-NodeJS/m-p/5338764#M4037</guid>
      <dc:creator>ryan11lb426</dc:creator>
      <dc:date>2022-02-07T04:41:03Z</dc:date>
    </item>
  </channel>
</rss>

