TList是一个指针列表,它只分配一个指针Pointer;
关于TMemoryStream,Delphi在线帮助说明:
TMemoryStream is a stream that stores its data in dynamic memory.
Unit
classes
Description
Use TMemoryStream to store data in a dynamic memory buffer that is enhanced with file-like access capabilities. TMemoryStream provides the general I/O capabilities of a stream object while introducing methods and properties to manage a dynamic memory buffer.
--------------------------------------------------------------------------------------------------------------
Memory streams are useful as intermediary objects that can hold information as well as read it from or write it to another storage medium. They provide a useful format for comparing the contents of streams, or for manipulating data that is stored in a less accessible medium.