Hello in response to the request I want to return the sound file. In googol I found StreamReader (Writer), BinaryReader (Writer) but all examples are considered on text files or you can write a sound file into the byte array and return it

  • Can. But the details are very dependent on the format - Alexander Pozharskii
  • Well the same banal mp3 - Sasuke
  • 3
    Any file is an array of bytes, so you can easily read and write as an array of bytes any file, regardless of its type. Another question is, if you need to change its contents, for this you need to know the format of the internal structure of the file. - rdorn

0