When I transfer a file object (File interface) using Socket.IO with Typescript, the file becomes an ArrayBuffer on the receiving end.
Is there any way to transform the ArrayBuffer back into a File, or should I not send the entire file object using socket io (send name, data, mime type separately)?