Memory support for types other than byte needs to go. For precompiled serializers, this can lead to endianness issues using a precompiled serializer generated on a little-endian system on a big-endian system. This design worked with original versions of FlatSharp when schemas were only compiled at runtime, but that assertion got dropped when the compiler was added, and it's a feature that doesn't provide a lot of value (you can always do your own encoding of... whatever inside a byte array). List and array vectors are unaffected by this change.
Memory support for types other than byte needs to go. For precompiled serializers, this can lead to endianness issues using a precompiled serializer generated on a little-endian system on a big-endian system. This design worked with original versions of FlatSharp when schemas were only compiled at runtime, but that assertion got dropped when the compiler was added, and it's a feature that doesn't provide a lot of value (you can always do your own encoding of... whatever inside a byte array). List and array vectors are unaffected by this change.