Only accepts structs and classes, will fail on Nullable or Typedef types which should be taken care of by toBytes function.
See Implementation
Only accepts structs and classes, will fail on Nullable or Typedef types which should be taken care of by toBytes function.