jmmorato / openddsharp

OpenDDS wrapper for .NET languages
http://www.openddsharp.com
GNU Lesser General Public License v3.0
53 stars 12 forks source link

How to define a byte array in an IDL file? #237

Closed huajuhong closed 6 months ago

huajuhong commented 6 months ago

Hello everyone, I would like to define a byte array in IDL. My definition is as follows sequence<octet> bytes; But the compilation did not pass. Has anyone encountered it before? Please help me take a look. Thank you!

huajuhong commented 6 months ago

I have found a sulotion module HelloWorld{ typedef sequence<octet> ByteSequence; @topic struct Message { ByteSequence Data; }; };