In "Binary serialization API" section of documentation I found, that in File and PacketPeer engine uses simple serialization. Is it possible to call serialization or conversion methods from my GDScript?
For example, I want to get array of 4 bytes from 1 float.
Maybe it can be added to some Pool*Array. Because I did not find any way to write floats to PoolRealArray and get correct converted PoolByteArray from it.
Maybe there exists some other way to convert built in types to byte arrays.