1
0
mirror of https://github.com/fumiama/orbyte.git synced 2026-06-12 14:10:53 +08:00

optimize: change Destroy -> ManualDestroy

This commit is contained in:
源文雨
2025-02-25 19:35:43 +09:00
parent 343a5d57be
commit 4a462a1437
6 changed files with 41 additions and 25 deletions

View File

@@ -117,8 +117,3 @@ func (b Bytes) Slice(from, to int) Bytes {
nb.dat = b.dat[from:to]
return nb
}
// Destroy please refer to Item.Destroy().
func (b Bytes) Destroy() {
b.buf.Destroy()
}