Re: Searching in byte buffer
- From: "Bruce Roberts" <dontsendtober@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 10:35:57 -0400
"Jatin" <TripleDerby100-ng@xxxxxxxxx> wrote in message
news:Yrh8f.8786$tV6.5427@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I want to search a byte buffer for certain pattern of bytes. It is similar
>to searching for a substring within a string, however I want to perform
>search on a byte buffer (array) for series of bytes. Also, it needs to be
>a fast search, as search is performed on bytes retrieved from soundcard
>buffer.
I suspect that the Boyer-Moore algorithm might prove useful. While its
always talked about in terms of textual searches there is no reason, AFAIK,
that a variant couldn't be used for general buffer searches.
.
- Follow-Ups:
- Re: Searching in byte buffer
- From: J French
- Re: Searching in byte buffer
- References:
- Searching in byte buffer
- From: Jatin
- Searching in byte buffer
- Prev by Date: Treeview and Itemheight
- Next by Date: Re: Treeview and Itemheight
- Previous by thread: Re: Searching in byte buffer
- Next by thread: Re: Searching in byte buffer
- Index(es):
Relevant Pages
|