wolfCoder

Results 3 issues of wolfCoder

`Reader` 接口增加新api `ForEachByte()`。 使用场景如下: - 等待特定字节到来。 - 特定字节查询。 使用示例: ``` reader := connection.Reader() if next := reader.ForEachByte(func(b byte) bool { return b == '\r' }) ; next > 0{ //...

doing

at the same time, I think the following codes don't make sense: ``` if (b.w + n) > len(b.buf) { log.Logger.Warn("bfe_bufio:reader.fill(),len(buf)=%d,b.r=%d,b.w=%d,n=%d\n", len(b.buf), b.r, b.w, n } ``` theoretically, b.w+n len(b.buf)?

example: List users = user.findAll(Limit.of(5,5),OrderBy.desc("id"));

enhancement