Does go support pointer types conversion? That would be more easy. I've tried many times..
encoding/binary writes Go structs packed - that is: without any padding to align members to word boundaries (which don't make sense for a serialised format). In contrast, if someone were to write the raw in-memory bytes of a struct to a serialised format, then they would find padding bytes are present.
(I think that's what was meant by 'alignment issues')
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.