src/main/java/com/allantaborda/ooogg/OggPacket.java
public boolean headerMatches(String header){
		try{
			for(int c = 0; c < header.length(); c++) if(cont[c] != header.charAt(c)) return false;
			return true;
		}catch(IndexOutOfBoundsException e){
			return false;
		}
	}
/**
	 * Tests if given header matches with beginning of packet content.
	 * @param header The header to be tested.
	 * @return {@code true} if header matches, {@code false} otherwise.
	 */
Tests if given header matches with beginning of packet content.
@param header The header to be tested.
@return  true if header matches,  false otherwise.
Tests if given header matches with beginning of packet content . @param header The header to be tested . @return true if header matches false otherwise .
public boolean headerMatches(String header){
		try{
			for(int c = 0; c < header.length(); c++) if(cont[c] != header.charAt(c)) return false;
			return true;
		}catch(IndexOutOfBoundsException e){
			return false;
		}
	}
public boolean headerMatches ( String header ) { try { for ( int c = 0 ; c < header . length ( ) ; c ++ ) if ( cont [ c ] != header . charAt ( c ) ) return false ; return true ; } catch ( IndexOutOfBoundsException e ) { return false ; } }
Tests if given header matches with beginning of packet content.
Tests if given header matches with beginning of packet content .