Completed nested type unity code generation
Complete C# and Scala packet reader and writer.