We can extract the mimetype from byte array, e.g., by using Apache Tika.
Is it possible to get Filename from Byte Array.
No. You can take a guess at a mimetype from the content data itself, but the filename is not in there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With