Code golf at Stackoverflow. Byte array substring searching.
Sunday, October 25th, 2009I don't know what I was searching for when I found this 'code golf' challenge at Stack Overflow. The challenge was to find a substring of bytes in a byte array, returning the start position. It cost me half an hour or so, so I thought I'd post my attempt ...