mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-23 12:02:58 -05:00
authenticator
This commit is contained in:
@@ -5,6 +5,12 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
func Release(buffer *Buffer) {
|
||||
if buffer != nil {
|
||||
buffer.Release()
|
||||
}
|
||||
}
|
||||
|
||||
// Buffer is a recyclable allocation of a byte array. Buffer.Release() recycles
|
||||
// the buffer into an internal buffer pool, in order to recreate a buffer more
|
||||
// quickly.
|
||||
|
||||
Reference in New Issue
Block a user