![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Вопрос по TMemoryStream [D6]
axx © (2004-11-10 11:06:00)В KOL для PStream есть замечательная функция
Stream:=NewExMemoryStream(Pointer,Size);
Вопрос в следующем можно ли для класса TMemoryStream сделать нечто подобное те передаем в ф-цию указатель и длинну каконить переменной и работаем с ней как с потоком.
ЮЮ (2004-11-10 11:30:00) [1]а что, у NewExMemoryStream закрытый код? создай экземпляр TMemoryStream вместо PStream!
Reindeer Moss Eater (2004-11-10 11:11:00) [2]TMemoryStream
.....
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.
Reindeer Moss Eater (2004-11-10 11:08:00) [3]TStringStream например