0

I'm developing a socket communicate routine, and the messages delimiter is a single # character.

And the data sending may contain .amr audio files. I want to confirm whether the content of the file might contains the # delimiter character, which may cause unexpected interrupt.

Anyone familiar with media codec can answer this question?

Alfred Huang
  • 17,654
  • 32
  • 118
  • 189

1 Answers1

1

As this is a binary file format every possible byte value may be present. Since a '#' is just a byte with value 0x23 it may be present in the file.

greg-449
  • 109,219
  • 232
  • 102
  • 145