I'm trying to make an app where I encode a file to base64 string then split the string into chunks the compile them to a new string then decode them.
I know I can just decode them as a whole but the system specifically needs to split the string by 300kb first then compile them before decoding.
Any help will be appreciated.
I'm sorry. I know the concept I don't know how to code it. So I turn the file into a byte array so I can split it so that I can send it bits by bits then on the receiver side I just compile those bits right? First I send the file name then the file length then compile it to an outputstream but I don't know how to code that
I'm sorry, it's host/client not server/client
I just need help with the file.
I converted it to base64 string then split the string to bytes because there's a limit in how much bytes you can send.
I know the process but I can't code it
Hey guys. I'm trying to build an file sharing app using p2p connection but I don't know how to send the file. I'm done with the server/client connection and really need help with the file sending part. Please help.