DEV Community

Danil Poletavkin
Danil Poletavkin

Posted on

Answer: What is the difference between a string and a byte string?

The only thing that a computer can store is bytes.

To store anything in a computer, you must first encode it, i.e. convert it to bytes. For example:

  • If you want to store music, you must first encode it using MP3, WAV, etc.
  • If you want to store…

Top comments (0)