Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Delphi XE2,Delphi 中是否有与 PHP 中的 pack() 等效的命令?我需要将包含整数和字符串的 Delphi 记录转换为二进制,以便通过 TCP 传输。
There is no built in method that will convert a generic record into binary form (or vice versa). You will need to either: