code: public static final boolean matchSequence(byte[] sequence, byte[] buffer, int offset)
  	{
  		boolean _result = (sequence.length < (buffer.length - offset));
  		if (_result)
  		{
  			for (int _index = 0; _index < sequence.length; _index++)
  			{
  				if (buffer[_index] != sequence[_index])
  				{
  					_result = false;
  					break;
  				}
  			}
  		}
  		return _result;
  	}
docs: Verify that each byte of a buffer match the corresponding byte of a given sequence, starting from an offset.
  
  @param sequence
  the sequence of bytes to match.
  @param buffer
  the buffer to test.
  @param offset
  the offset.
  @return <code>true</code> if the first bytes of buffer starting from offset are the same as the provided sequence.