public abstract ByteBufferMatcher createByteBufferMatcher(String hello);
public void testMatchAll() {
String memcachedGet = "VALUE test 0 0 100\r\nhello\r\n\rtestgood\r\nh\rfasdfasd\n\rdfasdfad\r\n\r\n";
ByteBufferMatcher newline = new ShiftOrByteBufferMatcher(IoBuffer
.wrap("\r\n".getBytes()));
List<Integer> list = newline.matchAll(IoBuffer.wrap(memcachedGet
.getBytes()));
for (int i : list) {
System.out.println(i);
}