RSTM decoder in java