I'm trying to encapsulate an image file to serialize it with BSON and send it over a Websocket, I managed to do it but nothing was rendered, so I did some tests and it seems that the File object has a different size and is changed after encapsulate and so isn't a valid image anymore.
I'm trying to encapsulate an image file to serialize it with BSON and send it over a Websocket, I managed to do it but nothing was rendered, so I did some tests and it seems that the File object has a different size and is changed after encapsulate and so isn't a valid image anymore.