TByteArray = record Length: Integer; Data: PChar; end;
Length is an Integer member that indicates the number of bytes in Data.
Data is a PChar member that contains the byte values for the TByteArray.