你用流的话用不着这么麻烦 TStringStream用这个流 进行读写操作 aStream.WriteString('啊打发发生发生飞'); aStream.ReadString('啊打发发生发生飞');