public static boolean[] transform(byte[] rawdata){
        boolean[] trans = new boolean[rawdata.length*8];
        
        for(int i=0;i<rawdata.length;i++){
            byte data = rawdata[i];
            for(int j=0;j<8;j++){
                byte probe = (byte) (data & 0x80);
                data = (byte) (data << 1);
                trans[i*8+j]=(probe != 0);
            }
        }
        
        return trans;
    }