张志峰的博客

水滴石川,积少成多。

导航

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

Posted on 2013-11-05 15:46  ╰★张志峰★╮  阅读(487)  评论(0编辑  收藏  举报

var

FReQuestM := TMemoryStream

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

这样就读到流中了。