Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.08.08;
Скачать: 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 вся ветка

Текущий архив: 2004.08.08;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.048 c
1-1090449329
AlexR
2004-07-22 02:35
2004.08.08
Как можно отследить минимизацию окна программы


1-1090474367
SkyP
2004-07-22 09:32
2004.08.08
как создать объект по имени класса ?


14-1090736827
SergP
2004-07-25 10:27
2004.08.08
PHP. Нужно что-то наподобии дельфийского IntToHex


3-1089724430
STM
2004-07-13 17:13
2004.08.08
НЕ ИСПОЛЬЗУЯ сторонних библиотек Pack dbf


14-1090392311
Slider007
2004-07-21 10:45
2004.08.08
Kaspersky Antivirus 5.0.142 обновление баз