Search for byte pattern in node.js Buffer : <p>I have this node.js Buffer.</p>

<pre><code>var test_buf = "5E4D802158D002001022201022AB778899A1B2C3";
var buffer_hex = new Buffer(test_buf, "hex");
</code></pre>

<p>I want to search for the existence of byte pattern <code>77 88 99</code> in <code>buffer_hex</code>. From the tutorial <a href="http://www.tutorialspoint.com/nodejs/nodejs_buffers.htm" rel="noreferrer">http://www.tutorialspoint.com/nodejs/nodejs_buffers.htm</a>, I cannot find a suitable Buffer function to use. Any suggestions? </p>
