public static void WriteFloatArray(float[] array, FastList <byte> data) { SerializableDataExtension.WriteInt32(array.Length, data); for (ushort index = 0; (int)index < array.Length; ++index) { SerializableDataExtension.WriteFloat(array[(int)index], data); } }