Вниз
Скачать: CL | DM;

TMemoryStream.Memory   Найти похожие ветки 

 
ИМХО ©   (2004-07-24 00:13) [0]

У TMemoryStream есть свойство Memory:

Provides direct access to the memory pool allocated for the memory stream.

property Memory: Pointer;

Description

Use Memory to get access to the memory for the stream. The memory for the stream holds the data that is being transferred by means of the memory stream. Size is the number of bytes of Memory that were allocated, and Position is the current position within Memory.

Note: Memory is a read-only property. Memory can be used to change the contents of the memory, but to set the actual memory the stream works with, descendants of TCustomMemoryStream must assign a pointer to a memory buffer by calling the SetPointer method.


Вот записал я в TMemoryStream через IStream определенную инофрмация, как теперь получить данные из TMemoryStream.Memory в виде строки?


 
ИМХО ©   (2004-07-24 00:15) [1]

определенную информацию


 
ИМХО ©   (2004-07-24 00:21) [2]

Усё, разобрался.


 
Polevi ©   (2004-07-24 14:05) [3]

TStreamAdaper на всякий случай



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.031 c
1-1090479966
Lamer_Of_Delphi
2004-07-22 11:06
2004.08.08
Интерпретатор


14-1090133295
DelphiNew
2004-07-18 10:48
2004.08.08
День программиста


14-1090771258
Чайник
2004-07-25 20:00
2004.08.08
Контекстное меню Проводника в XP


8-1085404170
Vadim
2004-05-24 17:09
2004.08.08
Иконки и кнопки


10-1027921118
epflorov
2002-07-29 22:15
2004.08.08
Проблемы с Naming Service




   Наверх