title: how to do vb.net replace on a byte array
body: <p>I have a byte array of data.  How can I find and replacement a part of the byte array with replacement data?</p>
  
  <p>dim foo as byte
  foo = MY DATA</p>
  
  <p>If foo was a string, then I would do:
  foo = replace( foo, target, replacement )</p>
  
  <p>But foo is a byte array.  How can I replace?</p>