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

fix: ensure atomic alignment

This commit is contained in:
源文雨
2025-04-03 16:41:30 +09:00
parent c427a15a7e
commit f9204e9924
3 changed files with 7 additions and 5 deletions

View File

@@ -9,8 +9,8 @@ import (
// UserBuffer with customizable user data structure inside.
type UserBuffer[USRDAT any] struct {
bytes.Buffer
DAT USRDAT
bytes.Buffer
}
type bufpooler[USRDAT any] struct{}