Delphi 把字符串读到流中的操作。

var

FReQuestM := TMemoryStream

FReQuestM.Write(PChar(FcVoucherXML)^, Length(FcVoucherXML));

这样就读到流中了。

原文地址:https://www.cnblogs.com/zhangzhifeng/p/3408690.html