pub fn write_to_memory<T: NumCast + Copy>(mem: &mut FlatBox, data: &[T])
Write into a native Coaster Memory.