Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can i add text to rawtobytedata ?
#7
Code:
procedure TForm1.udpreciverUDPRead(AThread: TIdUDPListenerThread;
  const AData: TIdBytes; ABinding: TIdSocketHandle);
var
AudioDataSize: Integer;
deData : TIdBytes;
straudio : string;
begin

straudio := BytesToString(AData, 6, AData[High(AData)]); // here i have tried to get the orginal Bytes without Audio1


dedata := Tobytes(straudio);
end;

i tried to keep the original bytes after cutting it out

but its always get corrupted what i am doing wrong ?
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 Madammar - 11-27-2019, 10:29 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)