Categories
Archives
-
-
-
Monthly Archives: March 2011
How to find a file’s image type by looking at its bytes (in Java)
Byte arrays and byte streams get used a lot in java, but it’s rare to do anything with individual bytes. Many file types start with certain bytes, though, and can be quickly identified by them. In my case, I had … Continue reading