mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
comments
This commit is contained in:
parent
7a641749a8
commit
5f6366d2fa
@ -6,6 +6,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Pool provides functionality to generate and recycle buffers on demand.
|
||||||
type Pool interface {
|
type Pool interface {
|
||||||
Allocate() *Buffer
|
Allocate() *Buffer
|
||||||
Free(*Buffer)
|
Free(*Buffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user