serializer runtime type checking?
when writing a Serializer and Deserializer, how would i go about ensuring stuff written and read in the correct order and with expected read sizes and positions (eg in case serializing misses a field that is otherwise written)
eg
eg