mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-11 05:30:29 +08:00
feat: add Ignore to Item
This commit is contained in:
@@ -76,7 +76,7 @@ func (bufferPool BufferPool[USRDAT]) ParseBytes(p ...byte) (b UserBytes[USRDAT])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ignore refer to Item.Ignore
|
// Ignore refer to Item.Ignore
|
||||||
func (b UserBytes[USRDAT]) Ignore(from int) UserBytes[USRDAT] {
|
func (b UserBytes[USRDAT]) Ignore() UserBytes[USRDAT] {
|
||||||
b.buf.Ignore()
|
b.buf.Ignore()
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user