How cloud we write RawArray into file

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By socheat.khauv
:warning: Old Version Published before Godot 3 was released.

In HttpRequest Node, there is a callback on request completed, I would like to write RawArray into file the idea is that, I would like to cache response of that request.

:bust_in_silhouette: Reply From: vnen

If you want to store the response directly into the file, the easiest way is to use File.store_buffer() function.