public void read() throws FileNotFoundException, IOException
    {
        bits = this.lire.read();
       
       int mask=0x80;
       
       for (int i =0; i<8; i++)
        if ((bits & mask)==0) {
             mask=mask>>1;
             System.out.print(0);
         }
         else {
           mask=mask>>1;
           System.out.print(1);
         }
    }