- This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Hi Kim,
In the standalone ORM demo a TMemoryStream is used for an image blob. Is this the way to go? If I remeber it well there was a TKbmmwMemoryStream as well? Which one should I use?
Thanks in advance!
TkbmMWMemoryStream is an optimized TMemoryStream with some more endian features and such. Both are children of TStream.
kbmMW’s ORM supports both TkbmMWMemoryStream and TMemoryStream, and if you are marshalling (json/xml/etc) then those also supports both.
Internally kbmMW use TkbmMWMemoryStream in many places, but not everywhere. It mostly is when there is specific focus on performance or there is a need for its special endian support.