public static MPEGFrameHeader parseMPEGHeader(ByteBuffer bb) throws InvalidAudioFrameException {
  int position=bb.position();
  bb.get(header,0,HEADER_SIZE);
  bb.position(position);
  MPEGFrameHeader frameHeader=new MPEGFrameHeader(header);
  return frameHeader;
}

public static MPEGFrameHeader parseMPEGHeader ( ByteBuffer bb ) throws InvalidAudioFrameException { int position = bb . position ( ) ; bb . get ( header , 0 , HEADER_SIZE ) ; bb . position ( position ) ; MPEGFrameHeader frameHeader = new MPEGFrameHeader ( header ) ; return frameHeader ; }
parse the mpegframeheader of an mp3file , file pointer returns at end of the frame header
