From e8afcce73a0c06d6b3cf8908ae45823e805739f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Tue, 13 May 2025 00:35:17 +0900 Subject: [PATCH] feat: add Ignore to Item --- pbuf/bytes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbuf/bytes.go b/pbuf/bytes.go index 5f2091d..33ba0c9 100644 --- a/pbuf/bytes.go +++ b/pbuf/bytes.go @@ -76,7 +76,7 @@ func (bufferPool BufferPool[USRDAT]) ParseBytes(p ...byte) (b UserBytes[USRDAT]) } // Ignore refer to Item.Ignore -func (b UserBytes[USRDAT]) Ignore(from int) UserBytes[USRDAT] { +func (b UserBytes[USRDAT]) Ignore() UserBytes[USRDAT] { b.buf.Ignore() return b }