I do not have very clear what a base64 string is or how it is related to a file.
Right now I have a website that uploads an image as a base64 string to my server. This string is converted back into a bitmap and resized. However, I would like the least amount of memory to be consumed in my server, therefore I would like to restrict the file size of the images being uploaded without processing them.
Is there a way to know the file of a size without actually saving the file into an stream?