default StructType#write & StructType#size methods, closes #5