Updated some files, fixed #1, added mimetype recognition for the depth map

This commit is contained in:
VanitasVitae 2015-07-17 20:09:06 +02:00
parent 18f6e4e13f
commit 34f16eb4f9
8 changed files with 60 additions and 28 deletions

1
src/ArrayUtils.java Normal file → Executable file
View file

@ -89,6 +89,7 @@ public class ArrayUtils
*/
public static byte[] unsign(byte[] b)
{
if(b == null) return null;
byte[] u = new byte[b.length];
for (int i = 0; i < b.length; i++)
u[i] = (byte) (b[i] & 0xFF);