TMemoryStream vs. TKbmMWMemoryStream Home › Forums › kbmMW › TMemoryStream vs. TKbmMWMemoryStream This topic contains 1 reply, has 2 voices, and was last updated by kimbomadsen 3 weeks, 4 days ago. Log In Register Lost Password Author Posts March 25, 2019 at 11:35 #53501 mrluigi2017Participant 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! March 25, 2019 at 14:41 #53503 kimbomadsenKeymaster 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. Author Posts Log In Register Lost Password You must be logged in to reply to this topic.