title: Figure out if mp3 is ID3v2
body: <p>I am trying to figure out the <em><strong><a href="https://www.factorialcomplexity.com/blog/how-to-get-a-duration-of-a-remote-mp3-file," rel="nofollow noreferrer">length of a remote mp3 file</a></strong></em>, I have gotten the <strong>first 10 bytes</strong> <code>11111111111100111100100011000100000000000000000000000000000000110100100000000000</code></p>
  <hr />
  <hr />
  <hr />
  <p><strong>From Another Stack Overflow Post:</strong>
  <em>An ID3 version 2.4 tag frame header is 10 bytes in length and consists of the following fields:</em></p>
  <ul>
  <li><p><em>ID -- 4 bytes (e.g. TIT2)</em></p>
  </li>
  <li><p><em>Size -- 4 bytes (is sync-safe in versions &gt;= 2.4)</em></p>
  </li>
  <li><p><em>Flags -- 2 bytes</em></p>
  </li>
  </ul>
  <hr />
  <hr />
  <hr />
  <p><strong>From <a href="https://id3.org/id3v2.4.0-structure" rel="nofollow noreferrer">ID3 docs</a>:</strong></p>
  <p><a href="https://i.stack.imgur.com/4N0VY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4N0VY.png" alt="enter image description here" /></a></p>
  <hr />
  <hr />
  <hr />
  <p>I cant't figure out if the first ten bytes tell me this is an ID3v2 or not... I really wanna know that... if this is not, can you tell me why so, also, could you link a remote mp3 that is? The reason why I am implementing this logic myself if because there is no rust library that does it and I will <a href="https://www.factorialcomplexity.com/blog/how-to-get-a-duration-of-a-remote-mp3-file" rel="nofollow noreferrer">create the first one</a>, let me know if you wanna contribute btw.</p>