private byte[] getBytesFromInt(int toTransform){
        byte toReturn[] = new byte[2];
        /* --fixme-- */
        /* The expression of type int is boxed into Integer */
        Integer first = toTransform;
        toReturn[1] = first.byteValue();
        int second = 0b00000000;
        if(toTransform - 32768 >= 0){
            second = second | 0b10000000;
            toTransform = toTransform - 32768;
        }
        if(toTransform - 16384 >= 0){
            second = second | 0b01000000;
            toTransform = toTransform - 16384;
        }
        if(toTransform - 8192 >= 0){
            second = second | 0b00100000;
            toTransform = toTransform - 8192;
        }
        if(toTransform - 4096 >= 0){
            second = second | 0b00010000;
            toTransform = toTransform - 4096;
        }
        if(toTransform - 2048 >= 0){
            second = second | 0b00001000;
            toTransform = toTransform - 2048;
        }
        if(toTransform - 1024 >= 0){
            second = second | 0b00000100;
            toTransform = toTransform - 1024;
        }
        if(toTransform - 512 >= 0){
            second = second | 0b00000010;
            toTransform = toTransform - 512;
        }
        if(toTransform - 256 >= 0){
            second = second | 0b00000001;
            toTransform = toTransform - 256;
        }
        /* --fixme-- */
        /* The expression of type int is boxed into Integer */
        Integer transformer = second;
        toReturn[0] = transformer.byteValue();
        //System.out.println(toReturn[0]);
        return toReturn;
    }