Ejemplo n.º 1
0
 public BitFieldReader(InStream input, int bitSize)
 {
     this.input = new RunLengthByteReader(input);
     this.bitSize = bitSize;
     mask = (1 << bitSize) - 1;
 }
 public BitFieldReader(InStream input, int bitSize)
 {
     this.input   = new RunLengthByteReader(input);
     this.bitSize = bitSize;
     mask         = (1 << bitSize) - 1;
 }