[omniORB] How to encode/decode valuetype to/from a binary file?

Duncan Grisby duncan at grisby.org
Wed May 31 16:54:03 BST 2006


On Wednesday 31 May, JiangWei wrote:

> omniORB4 has no IOP::Codec. Is there another way to do that ?

You can get the same functionality with cdrMemoryStream or
cdrEncapsulationStream, defined in include/omniORB4/cdrStream.h. You
just create a stream object and marshal things into it. It should be
fairly easy to see what to do, I hope.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list