Skip to content

Commit e8afcce

Browse files
committed
feat: add Ignore to Item
1 parent b4e98e1 commit e8afcce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pbuf/bytes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (bufferPool BufferPool[USRDAT]) ParseBytes(p ...byte) (b UserBytes[USRDAT])
7676
}
7777

7878
// Ignore refer to Item.Ignore
79-
func (b UserBytes[USRDAT]) Ignore(from int) UserBytes[USRDAT] {
79+
func (b UserBytes[USRDAT]) Ignore() UserBytes[USRDAT] {
8080
b.buf.Ignore()
8181
return b
8282
}

0 commit comments

Comments
 (0)