1. A device, comprising: a pattern-recognition processor; and a results buffer, wherein the results buffer comprises: a plurality of records; a write-control module configured to write data relevant to search results in the plurality of records; and a read control module configured to read data from the plurality of records.