dfahlander / typeson-registry

The type registry for typeson
MIT License
6 stars 5 forks source link

File is changed on encapsulate #11

Closed RatedDS closed 5 years ago

RatedDS commented 6 years ago

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.

image

brettz9 commented 5 years ago

This may have been fixed in the latest release...

RatedDS commented 5 years ago

I can confirm it's fixed.