Sending an image from python to kotlin with sockets fails on tranforming byte array to bitmap
I am trying to send an image from a server to a mobile device using sockets. The server uses python and the client uses kotlin. The image is sent as a byte array and should be saved on the device. I have this code for the server side: