scala-interop/slinc

Add read/write for CUnion

markehammons opened this issue · 0 comments

Read/write for CUnion will behave differently from other types. Since CUnion data will continue to live in native memory, and the data within it will be interpreted as a specific type until user request, a special method unionReader/unionWriter will be added to ReadWriteModule to handle the necessary allocation.