get rid of the stream parsing that occurs in the Layer III decoder. BitStream.readFra...
[IRC.git] / Robust / src / Tests / ssJava / mp3decoder / BitStreamWrapper.java
1 public class BitStreamWrapper {
2
3   private static Bitstream stream;
4
5   public static void init(InputStream in) {
6     stream = new Bitstream(in);
7   }
8
9   public static Header readFrame() {
10     return stream.readFrame();
11   }
12
13   public static int get_bits(int number_of_bits) {
14     return stream.get_bits(number_of_bits);
15   }
16
17 }