Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can i add text to rawtobytedata ?
#4
(09-21-2019, 04:41 PM)Madammar Wrote: in receiving part can i delete the Audio1 Text and keep the actual byets ?

You could, by simply using System.Delete() (XE7+ only) or Indy's RemoveBytes(). Or, you could Copy()/CopyTIdBytes() the wanted bytes to another array.

But really, there is usually no need to do any of this. If the 1st 6 bytes are 'Audio1', just ignore those bytes and use/save the remaining bytes as needed. What is so hard about that?

Reply


Messages In This Thread
can i add text to rawtobytedata ? - by Madammar - 09-19-2019, 09:13 AM
RE: can i add text to rawtobytedata ? - by rlebeau - 09-24-2019, 06:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)